WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[resolved] Fatal error: Call to a member function calculate_shipping() on a non-object (4 posts)

  1. vintage_rock07
    Member
    Posted 2 months ago #

    I'm having several issues using the WP eCommerce plugin since the latest update. First, there was an issue with setting product variations. Now that seems to be fixed and there is another issue within the cart regarding the shipping.

    Store URL: http://www.stampnouveau.com/products-page/address-stamps/design-33/
    WordPress version: 3.9.1
    WP e-Commerce version: 3.8.14.1
    Theme: Storefront Elegance

    I added 20+ products to the cart using a black ink/blue mount variation. I added a coupon code for 10% off. Once I tried to remove a product, I believe it attempted to re-calculate the shipping and then I received the PHP error. I expected it to remove the item and just reload as normal. Now I can't load any products to cart and the cart page is not loading correctly.

    Error log shows:

    Fatal error: Call to a member function calculate_shipping() on a non-object in /home/stampnou/public_html/wp-content/plugins/wp-e-commerce/wpsc-includes/cart.class.php on line 456

    Fatal error: Call to a member function get_title() on a non-object in /home/stampnou/public_html/wp-content/plugins/wp-e-commerce/wpsc-components/theme-engine-v1/helpers/cart.php on line 32

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

  2. Justin Sainton
    Member
    Plugin Author

    Posted 2 months ago #

    Hi vintage_rock07,

    Do you have an idea of how much memory is allocated to your server?

  3. vintage_rock07
    Member
    Posted 2 months ago #

    Hi,

    I think it it's 264M.

    http://www.stampnouveau.com/view-php-info.php may be more helpful.

  4. vintage_rock07
    Member
    Posted 2 months ago #

    Also, I'm now noticing the issue consistently when a coupon code is applied and coupon codes are set up in the backend. When they are removed, the issue seems to stop. However, we need to be able to include these...

Reply

You must log in to post.

About this Plugin

About this Topic