Fatal error with version 1.0.12
-
After our site auto-updated the terms and conditions plugin to 1.0.12 it began throwing the following error on the checkout page where terms & conditions are typically linked for viewing:
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method TACPP4_Terms_Conditions_Per_Product::add_checkout_per_product_terms() cannot be called statically in /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/class-wp-hook.php:307 Stack trace: #0 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #1 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #2 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/plugins/woocommerce/templates/checkout/payment.php(49): do_action('woocommerce_rev...') #3 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/usr/local/var/...') #4 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(2357): wc_get_template('checkout/paymen...', Array) #5 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/class-wp-hook.php(307): woocommerce_checkout_payment('') #6 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #7 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #8 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/themes/flatsome-child/woocommerce/checkout/form-checkout.php(95): do_action('woocommerce_che...') #9 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/usr/local/var/...') #10 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(313): wc_get_template('checkout/form-c...', Array) #11 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(67): WC_Shortcode_Checkout::checkout() #12 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(72): WC_Shortcode_Checkout::output('') #13 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(95): WC_Shortcodes::shortcode_wrapper(Array, '') #14 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/shortcodes.php(356): WC_Shortcodes::checkout('', '', 'woocommerce_che...') #15 [internal function]: do_shortcode_tag(Array) #16 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/shortcodes.php(228): preg_replace_callback('/\\[(\\[?)(woocom...', 'do_shortcode_ta...', '[woocommerce_ch...') #17 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/class-wp-hook.php(307): do_shortcode('[woocommerce_ch...') #18 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters('[woocommerce_ch...', Array) #19 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/post-template.php(253): apply_filters('the_content', '<!-- wp:shortco...') #20 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/themes/flatsome-child/woocommerce/checkout/layouts/checkout.php(12): the_content() #21 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/template.php(772): require('/usr/local/var/...') #22 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template('/usr/local/var/...', false) #23 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-content/themes/flatsome/page-checkout.php(6): wc_get_template_part('checkout/layout...', false) #24 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/template-loader.php(106): include('/usr/local/var/...') #25 /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-blog-header.php(19): require_once('/usr/local/var/...') #26 /usr/local/var/www/Sites/created-by-couture.com/public_html/index.php(17): require('/usr/local/var/...') #27 {main} thrown in /usr/local/var/www/Sites/created-by-couture.com/public_html/wp-includes/class-wp-hook.php on line 307
The page I need help with: [log in to see the link]
- The topic ‘Fatal error with version 1.0.12’ is closed to new replies.