Title: Errors in Error log
Last modified: February 26, 2019

---

# Errors in Error log

 *  Resolved [kris110846](https://wordpress.org/support/users/kris110846/)
 * (@kris110846)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errors-in-error-log-7/)
 * 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.

Viewing 1 replies (of 1 total)

 *  [Luminus Alabi](https://wordpress.org/support/users/luminus/)
 * (@luminus)
 * Automattic Happiness Engineer
 * [7 years, 3 months ago](https://wordpress.org/support/topic/errors-in-error-log-7/#post-11251528)
 * Hi [@kris110846](https://wordpress.org/support/users/kris110846/),
 * This kind of problem is usually caused by either a conflict with your theme or
   with another plugin. Based on the stack trace you’ve provided, there’s a good
   chance that your theme is at fault here.
      The best way to determine this is
   to:  
    - 
    - Disable all plugins except for WooCommerce
    - Repeat the action that is causing the problem
 * If you’re not seeing the same problem after completing the conflict test, then
   you know the problem was with the plugins and/or theme you deactivated. To figure
   out which plugin is causing the problem, reactivate your other plugins one by
   one, testing after each one, until you find the one causing the conflict. You
   can find a more detailed explanation on how to do a conflict test here.

Viewing 1 replies (of 1 total)

The topic ‘Errors in Error log’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [PHPError](https://wordpress.org/support/topic-tag/phperror/)

 * 1 reply
 * 2 participants
 * Last reply from: [Luminus Alabi](https://wordpress.org/support/users/luminus/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/errors-in-error-log-7/#post-11251528)
 * Status: resolved