5.1.8 bug
-
Hello, Simple Shopping Cart 5.1.8 reports fatal error.
Php is 8.4.
Rolled back to 5.1.7 which is fine.
Maybe something to do with the class name refactoring?Fatal error: Uncaught Error: Call to a member function get_discount_applied_once() on null in /*/wp-content/plugins/wordpress-simple-paypal-shopping-cart/includes/classes/class-coupon.php:215
Stack trace:
#0 /*/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php(316): wpsc_reapply_discount_coupon_if_needed()
#1 /*/wp-content/plugins/wordpress-simple-paypal-shopping-cart/includes/wpsc-misc-functions.php(16): wpsc_cart_actions_handler()
#2 /*/wp-includes/class-wp-hook.php(324): wp_cart_init_handler('')
#3 /*/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /*/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /*/wp-settings.php(727): do_action('init')
#6 /*/wp-config.php(100): require_once('/*/...')
#7 /*/wp-load.php(50): require_once('/*/...')
#8 /*/wp-blog-header.php(13): require_once('/*/...')
#9 /*/index.php(17): require('/*/...')
#10 {main} thrown in /*/wp-content/plugins/wordpress-simple-paypal-shopping-cart/includes/classes/class-coupon.php on line 215
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
The topic ‘5.1.8 bug’ is closed to new replies.