PHP errors
-
Hey, since 1 month I am getting these errors in our phperrorlog / debug log. Customers used to get this in front-end also. Please how to fix that these errors don’t come anymore? It comes everyday, mostly after a customer buys.
These 2 errors:
[28-May-2024 08:02:48 UTC] PHP Notice: Functie order_currency werd verkeerd aangeroepen. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/Divi/page.php’), the_content, apply_filters(‘the_content’), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, WC_Shortcodes::checkout, WC_Shortcodes::shortcode_wrapper, WC_Shortcode_Checkout::output, WC_Shortcode_Checkout::order_received, wc_get_template, include(‘/plugins/woocommerce/templates/checkout/thankyou.php’), do_action(‘woocommerce_thankyou’), WP_Hook->do_action, WP_Hook->apply_filters, tradetracker_tracking, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong Lees Foutopsporing in WordPress voor meer informatie. (Dit bericht is toegevoegd in versie 3.0.) in /home/customer/www/(MYSITE)/public_html/wp-includes/functions.php on line 6078
[28-May-2024 08:02:48 UTC] PHP Deprecated: Functie get_used_coupons is sinds versie 3.7 verouderd! Gebruik in plaats daarvan WC_Abstract_Order::get_coupon_codes. in /home/customer/www/(MYSITE)/public_html/wp-includes/functions.php on line 6078
- You must be logged in to reply to this topic.