Errors in Error log
-
Error log entry as below :-
PHP Fatal error: Uncaught Error: Call to a member function date() on null in /home/racebolt/public_html/wp-content/plugins/woocommerce/templates/myaccount/my-orders.php:59
Stack trace:
#0 /home/racebolt/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(211): include()
#1 /home/racebolt/public_html/wp-content/plugins/fusion-shortcodes.php(322): wc_get_template(‘myaccount/my-or…’, Array)
#2 /home/racebolt/public_html/wp-includes/shortcodes.php(325): shortcode_my_orders(”, ”, ‘my_orders’)
#3 [internal function]: do_shortcode_tag(Array)
#4 /home/racebolt/public_html/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(my_ord…’, ‘do_shortcode_ta…’, ‘[my_orders]\n<sp…’)
#5 /home/racebolt/public_html/wp-content/themes/flatsome/inc/helpers/helpers-shortcode.php(195): do_shortcode(‘[my_orders]\n<sp…’)
#6 /home/racebolt/public_html/wp-includes/class-wp-hook.php(286): flatsome_contentfix(‘[my_orders]\n<sp…’)
#7 /home/racebolt/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filt in /home/racebolt/public_html/wp-content/plugins/woocommerce/templates/myaccount/my-orders.php on line 59.
Using latest versions of WC, WP and Flatsome theme. According to the file my-orders.php is depreciated and not used any more. Can anyone tell me whether this is an error in WC or a Theme error.
- The topic ‘Errors in Error log’ is closed to new replies.