• Resolved dan_1

    (@dan_1)


    Thoughts on the below message? Happens only when WP ecommerce plugin is active. If I deactivate and delete the plugin, the error goes away. Thanks!

    Fatal error: WPSC_Countries::get_countries(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "WPSC_Data_Map" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/content/p3nexnas05_data03/62/2100362/html/wp-content/plugins/wp-e-commerce/wpsc-includes/wpsc-countries.class.php on line 462

    Fatal error: WPSC_Countries::_dirty(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "WPSC_Data_Map" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/content/p3nexnas05_data03/62/2100362/html/wp-content/plugins/wp-e-commerce/wpsc-includes/wpsc-countries.class.php on line 1142

    https://wordpress.org/plugins/wp-e-commerce/

Viewing 15 replies - 61 through 75 (of 82 total)
  • Jeffrey Schutzman

    (@jeffpyebrookcom)

    For anyone who wants to follow the peer review of the changes to the WP eCommerce plugin to make it resistant to the APC cache deserialization issue this is the link to GitHub where it will be happening:

    https://github.com/wp-e-commerce/WP-e-Commerce/pull/1835

    paulhaberstroh

    (@paulhaberstroh)

    I did try the suggested patch and am going to try turning off the object cache,

    Thanks!
    Paul

    paulhaberstroh

    (@paulhaberstroh)

    It is a GoDaddy hosting setup but we have been with them for a while. I have renamed object-cache.php to _object-cache.php and have my fingers crossed.

    Thank you for all your help!
    Paul

    Jeffrey Schutzman

    (@jeffpyebrookcom)

    I have updated the free Site Checkup Plugin to include a check for the broken object cache configuration. The free plugin can be downloaded from http://www.pyebrook.com plugin store here:

    http://www.pyebrook.com/store/product-category/site-checkup-wp-ecommerce/

    It will get pushed to the WordPress plugin repository over the next few days.

    jeff

    Jeffrey Schutzman

    (@jeffpyebrookcom)

    This is the error that will display if your configuration has the object cache configuration issue.

    conniemk224

    (@conniemk224)

    Really want to unsubscribe from this thread, but there is not unsubscribe link. Hoping this resolves it.

    paulhaberstroh

    (@paulhaberstroh)

    Hi Jeff, I used your check up plug-in and here are the results:

    Warning: Memcache::connect(): Can’t connect to 127.0.0.1:11211, Connection refused (111) in /home/content/p3nexnas06_data02/02/2145302/html/wp-content/plugins/site-check-up-for-wp-ecommerce/cleanup-actions.php on line 249
    Could not connect to memcache server
    WP-e-Commerce
    WPeC Products 0
    WPeC Variations 0
    Orphaned WPeC Variations 0
    WPeC Pages Permalinks
    [productspage] http://sweetwaterepiscopal.org/products-page/
    URL is OK 1.0 seconds
    [productspage] secure https://sweetwaterepiscopal.org/products-page/
    URL is OK 0.7 seconds
    [shoppingcart] http://(missing)
    URL check failed Couldn’t resolve host ‘(missing)’
    [shoppingcart] secure https://(missing)
    URL check failed Couldn’t resolve host ‘(missing)’
    [transactionresults] http://sweetwaterepiscopal.org/products-page/transaction-results/
    URL is OK 1.2 seconds
    [transactionresults] secure https://sweetwaterepiscopal.org/products-page/transaction-results/
    URL is OK 0.5 seconds
    [userlog] http://sweetwaterepiscopal.org/products-page/your-account/
    URL is OK 0.5 seconds
    [userlog] secure https://sweetwaterepiscopal.org/products-page/your-account/
    URL is OK 0.5 seconds
    WordPress Options
    Options 592
    Options with Autoload 557
    Options with Autoload Total Size 343,259
    WordPress Transients
    All Transients in options table 5
    Transients 0
    Transients with timeouts 10
    Site Transients 5
    Site Transients with timeouts 1
    Expired Transients in option table 0
    WordPress Tables and Relationships
    Database Rows 14,484
    Orphaned Post Meta 0
    Orphaned Taxonomy Terms 0
    Cache
    Cache Files 0 files
    in /home/content/p3nexnas06_data02/02/2145302/html/wp-content/cache
    Wordpress Cache No
    Memcache Detected Yes

    Thanks!
    Paul

    jfreeby

    (@jfreeby)

    We are seeing the same issue and we are hosted on GoDaddy

    http://pta-stanley.org/

    jfreeby

    (@jfreeby)

    Per one of the comments, I renamed a file /wp-includes/object-cache.php to /wp-includes/object-cache.php-remove20150417

    This disabled the cache and our site now functions as expected.

    I hope this helps someone else.

    paulhaberstroh

    (@paulhaberstroh)

    Tried all of that, error came back today. Site works fine when I am logged in to admin, but otherwise I get the same message.

    paulhaberstroh

    (@paulhaberstroh)

    If I disable the plugin, The home page works but all the other pages show an error code:

    Fatal error: Call to undefined function wpsc_is_single_product() in /home/content/p3nexnas06_data02/02/2145302/html/wp-content/themes/sweetwater/header.php on line 292

    Any help would be appreciated!

    Thanks,
    Paul

    PlymouthCRAFT

    (@plymouthcraft)

    I’m sorry to say that after several days of clear sailing, the problem has come back for us too! Each time I clear the cache today, it seems to resolve, but then returns again.

    Stubborn!

    paulhaberstroh

    (@paulhaberstroh)

    I found the offending line of code in the header section that triggered the above error and removed it. I deleted the WP eCommerce plugin and am running all transactions directly through authorize dot net. So far seems to work.

    Would still like to understand the original issue as it seems many users are also experiencing the problem.

    Thanks,
    Paul

    PlymouthCRAFT

    (@plymouthcraft)

    I have disabled WPEC, which allows the site to be available. BUT I have no backup mode of conducting transactions, so I’m unable to sell any tickets. Not good.

    Unlike Paul, I don’t have a prayer of understanding the original issue; I would just be extremely grateful if WPEC would function for me.

    Plugin Author Justin Sainton

    (@justinsainton)

    Hi PlymouthCraft!

    Did you try disabling your object-cache.php file, as suggested? This is different than flushing the cache.

Viewing 15 replies - 61 through 75 (of 82 total)
  • The topic ‘Fatal Error WPSC_Countries’ is closed to new replies.