Support » Plugin: WP eCommerce » PHP Upgrade 7… errors…

  • Here is what the first error is.: (if someone buy for the first time (cleared cache))

    Warning: A non-numeric value encountered in /var/www…../wp-content/plugins/wp-e-commerce/wpsc-includes/cart.class.php on line 1117

    Warning: A non-numeric value encountered in /var/www/…../wp-content/plugins/wp-e-commerce/wpsc-includes/cart.class.php on line 1117

    Second error is.:

    if my customers forget to “clik” on “I agree to The Terms and Conditions” – they get a blank page…! – and dont show “Please agree to the terms and conditions, otherwise we cannot process your order” on my checkout page.

    Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/…../wp-content/plugins/wp-e-commerce/wpsc-components/theme-engine-v1/helpers/ajax.php:596 Stack trace: #0 /var/www/…../wp-includes/class-wp-hook.php(284): wpsc_submit_checkout() #1 /var/www/…../wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /var/www/……/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #3 /var/www/…../wp-settings.php(505): do_action(‘init’) #4 /var/www/…../wp-config.php(90): require_once(‘/var/www/…..’) #5 /var/www/…../wp-load.php(37): require_once(‘/var/www/…..’) #6 /var/www/…../wp-blog-header.php(13): require_once(‘/var/www/…..’) #7 /var/www/…../index.php(17): require(‘/var/w in /var/www/…../wp-content/plugins/wp-e-commerce/wpsc-components/theme-engine-v1/helpers/ajax.php on line 596

    Do you have any hints – tricks – anything – that can help me…!!!

    Best Regards
    Denmark
    APPWEB

Viewing 4 replies - 1 through 4 (of 4 total)
  • enricogan

    (@enricogan)

    I also found the same mistakes. fortunately I updated in a test environment. but the authors of the plug-in where are they?

    Have you updated to the latest version of wp-e-commerce? It fixes some issues with PHP 7.

    Hi
    Yes i am using the latest version 3.14.0
    And WP 5.1.1

    And still have the errors

    In the ajax.php file add the following before the line 596:

    $error_messages = array();

    This will fix the error.

    Had the same issue on my marketing1on1.com website.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.