WordPress.org

Forums

WP eCommerce
WP e-Commerce Plugin Will Not Activate Missing Products and Store (8 posts)

  1. Ephazi
    Member
    Posted 1 year ago #

    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://wordpress.org/plugins/wp-e-commerce/

  2. Jeff Pye Brook
    Member
    Posted 1 year ago #

    What version of PHP and WordPress are running on your server?

  3. Ephazi
    Member
    Posted 1 year ago #

    Latest WP version and PHP ver 5.4.27

  4. Jeff Pye Brook
    Member
    Posted 1 year ago #

    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.

  5. Ephazi
    Member
    Posted 1 year ago #

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

  6. Ephazi
    Member
    Posted 1 year ago #

    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.

  7. Jeff Pye Brook
    Member
    Posted 1 year ago #

    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.

  8. Jeff Pye Brook
    Member
    Posted 1 year ago #

    @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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic