Bug+Solution: BBCode 1.6.2 and QuickGallery problem
  • The combination of the unofficial extended BBCode with QuickGallery 1.0 gives me a 


    Warning: Parameter 5 to plugin_quickgallery_gallery() expected to be a reference, value given in /usr/users/mat05/s8186045/public_html_www1/flatpress/fp-plugins/bbcode/inc/stringparser_bbcode.class.php on line 1919

    Solution: In Line 1918 and Line 1947 of bbcode/inc/stringparser_bbcode.class.php  change 

    $callArray[] = $this;

    to

    $callArray[] =& $this;

    I hope that doesn't breake something else.

  • are you on PHP 5 ?
  • Yes, PHP 5.3.1.

  • I've rather fixed the bug in the quickgallery source on http://wiki.flatpress.org/res:plugins:nowhereman:quickgallery

    the usage of the ampersand there is deprecated almost everywhere in php5

    thanks for reporting
  • Ah thank you, your fix works fine. Didn't know about the ampersand in php5.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion