Title: PHP Upgrade 7&#8230; errors&#8230;
Last modified: March 13, 2019

---

# PHP Upgrade 7… errors…

 *  [APPWEB](https://wordpress.org/support/users/appweb/)
 * (@appweb)
 * [7 years ago](https://wordpress.org/support/topic/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](https://wordpress.org/support/users/enricogan/)
 * (@enricogan)
 * [7 years ago](https://wordpress.org/support/topic/php-upgrade-7-errors/#post-11317918)
 * I also found the same mistakes. fortunately I updated in a test environment. 
   but the authors of the plug-in where are they?
 *  [whitelamp](https://wordpress.org/support/users/whitelamp/)
 * (@whitelamp)
 * [7 years ago](https://wordpress.org/support/topic/php-upgrade-7-errors/#post-11336571)
 * Have you updated to the latest version of wp-e-commerce? It fixes some issues
   with PHP 7.
 *  Thread Starter [APPWEB](https://wordpress.org/support/users/appweb/)
 * (@appweb)
 * [7 years ago](https://wordpress.org/support/topic/php-upgrade-7-errors/#post-11339250)
 * Hi
    Yes i am using the latest version 3.14.0 And WP 5.1.1
 * And still have the errors
 *  [anatoly14](https://wordpress.org/support/users/anatoly14/)
 * (@anatoly14)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/php-upgrade-7-errors/#post-11667819)
 * 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)

The topic ‘PHP Upgrade 7… errors…’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-e-commerce_ebebeb.svg)
 * [WP eCommerce](https://wordpress.org/plugins/wp-e-commerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-e-commerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-e-commerce/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-e-commerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-e-commerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-e-commerce/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [anatoly14](https://wordpress.org/support/users/anatoly14/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/php-upgrade-7-errors/#post-11667819)
 * Status: not resolved