Hi, downloaded this mod to test it out and received the following error upon install:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of module_invoke_all(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /modules/ubercart_marketplace/mp_products/mp_products.module on line 219
Thanks!
Comments
Comment #1
Turgrid commentedI have never seen this error before. Not sure what to tell you or do. I will take a look at the code in that vicinity, anyways. I guess one quick solution would be to set allow_call_time_pass_reference to true in your php.ini file.
Comment #2
cumber8 commentedI'm getting the exact same error.
Comment #3
Turgrid commentedIf your php config does not allow pass by reference (and/or you do not wish to enable in php.ini), you can safely remove line 219 from mp_products.module. This is a hook that has a potential future use to some individuals and its quality and removal will be assessed for the next Marketplace release.
Comment #4
drew.p commentedI too am getting this error:
Is this related to PHP version?
Comment #5
Turgrid commentedThe solution has already been posted (See #3):
"You can safely remove line 219 from mp_products.module. This is a hook that has a potential future use to some individuals and its quality and removal will be assessed for the next Marketplace release."
It is a PHP5 issue that will be corrected next release. For now remove the hook_invoke_all line 219.
Comment #6
syndicateStorm commentedLooks like this may have been resolved back in 2008. I will look into this to see if it is still applicable when I get a chance.
Comment #7
syndicateStorm commentedThe fix was committed November 8, 2008.