• I am unable to activate wp-ecommerce (ver 3.7.8) with gold cart (ver 2.9.7.7) The gold cart updated but for some reason, I cannot activate the commerce plugin. It throws an error.

    Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of do_action(). in /home/fightst1/public_html/paperrollexpress.com/wp-content/plugins/wp-e-commerce/wpsc-includes/cart.class.php on line 881

    I’m not sure how to procede to get my storefront/products page loaded. The site is paperrollexpress.com and nothing shows up on the page or in the dashboard. I’ve been trying for a few days and I’m reaching out for some assistance! I appreciate your help!

    https://www.ads-software.com/plugins/wp-e-commerce/

Viewing 7 replies - 1 through 7 (of 7 total)
  • What version of PHP and WordPress are running on your server?

    Thread Starter Ephazi

    (@ephazi)

    Latest WP version and PHP ver 5.4.27

    It could be the case that WPeC version 3.7.8 is a little out of date compared to the WordPress and PHP versions you are using.

    This page Passing by Reference has the following note

    Note: There is no reference sign on a function call – only on function definitions. Function definitions alone are enough to correctly pass the argument by reference. As of PHP 5.3.0, you will get a warning saying that “call-time pass-by-reference” is deprecated when you use & in foo(&$a);. And as of PHP 5.4.0, call-time pass-by-reference was removed, so using it will raise a fatal error.

    You may want to setup a test server and step through the WPeC upgrades to the current version. WPeC has a lot of enhancements since the version you are running has been released.

    Thread Starter Ephazi

    (@ephazi)

    If I boost my php to 5.5.X will that correct the problem?

    Thread Starter Ephazi

    (@ephazi)

    I updated the plugin… more errors and fun…

    BUT – The products are now showing up. Just gotta tweak the “add to cart” buttons and some other CSS.

    If I boost my php to 5.5.X will that correct the problem?

    Not likely, PHP was different at the time the version of WPeC you are running is created. If you go the upgrade route you have a fair number of upgrades to go through. Your version 3.7.8 is pretty far behind the current version which will be 3.8.14 by the end of this week.

    You’ll probably need a little bit of patience as you test your site to be sure all of your themes and plugins are working as expected.

    Consider if it makes sense go right to the beta version of 3.8.14 so you don’t have to go through the exercise again right away.

    @ephazi I have noted the PHP warning you are seeing in a new issue report for WPeC core. The issue number is #1197. It will get looked at by someone.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP e-Commerce Plugin Will Not Activate Missing Products and Store’ is closed to new replies.