By yosisays on
I get the following error message when I posted a new product (as a test). Any ideas what the cause and fix is?
warning: Parameter 2 to views_gallery_og_link_alter() expected to be a reference, value given in \includes\common.inc on line 2883
Possible relevant modules that I’m using include ubercart, ubercart marketplace, and views gallery.
If you need more info I can try to furnish it.
Comments
=-=
the issue is with views gallery and it's integration with organic groups module hence the "og" in the error. Are you using organic groups?
I believe your issue is related to running in PHP 5.3. Are you running PHP 5.3?
yes and yes
yes and yes
=-=
Then the issue queue of the modules in question should be checked for similar reports. Ultimately there is an extra & in the code that needs to be removed for PHP 5.3 to properly deal with what it's erroring on. While core is PHP 5.3 ready contrib modules may not be.
any updates to this issues..
any updates to this issues.. I just ran into it myself.. and it seems with any ubuntu 10x install you get php 5.3.. pretty annoying...
or a patch?
I switched to php 5.2 an it
I switched to php 5.2 an it seems to be working ok
changing from PHP 5.3 to 5.29
changing from PHP 5.3 to 5.29 worked for me