Title: Order Notes &#8211; Infinite Load
Last modified: September 6, 2021

---

# Order Notes – Infinite Load

 *  Resolved [nthanwrexhamtech](https://wordpress.org/support/users/nthanwrexhamtech/)
 * (@nthanwrexhamtech)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/order-notes-infinite-load/)
 * Hi,
 * I’m wondering if anybody can help. I’m currently running into issues adding Order
   notes to an order. After submission, there is an infinite circle animation loader
   for that box area only. Here is the error I’m getting in Google Console:
 * /wp-admin/admin-ajax.php?_fs_blog_admin=true:1 Failed to load resource: the server
   responded with a status of 500 (Internal Server Error)
 * I’ve looked in WooCommerce Status – nothing seems to be flagging up there. I’ve
   also tried disabling plugins (that might be a conflict). No joy there either.
 * Here is the error log:
 *     ```
       2021-09-06T02:56:38+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /home/admin/public_html/wp-includes/formatting.php:5304
       Stack trace:
       #0 /home/admin/public_html/wp-includes/formatting.php(5304): preg_replace('@<(script|style...', '', Object(WP_Error))
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(303): wp_strip_all_tags(Object(WP_Error))
       #2 /home/admin/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Object(WP_Error), Array)
       #3 /home/admin/public_html/wp-includes/comment.php(2114): apply_filters('pre_comment_aut...', Object(WP_Error))
       #4 /home/admin/public_html/wp-includes/comment.php(2263): wp_filter_comment(Array)
       #5 /home/admin/public_html/wp-includes/comment.php(3567): wp_new_comment(Array, true)
       #6 /home/admin/public_html/wp-comments-post.php(25): wp_handle_comment_submission(Array)
       #7 {main}
         thrown in /home/admin/public_html/wp-includes/formatting.php on line 5304
   
       2021-09-06T03:37:47+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /home/admin/public_html/wp-includes/formatting.php:5304
       Stack trace:
       #0 /home/admin/public_html/wp-includes/formatting.php(5304): preg_replace('@<(script|style...', '', Object(WP_Error))
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(303): wp_strip_all_tags(Object(WP_Error))
       #2 /home/admin/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Object(WP_Error), Array)
       #3 /home/admin/public_html/wp-includes/comment.php(2114): apply_filters('pre_comment_aut...', Object(WP_Error))
       #4 /home/admin/public_html/wp-includes/comment.php(2263): wp_filter_comment(Array)
       #5 /home/admin/public_html/wp-includes/comment.php(3567): wp_new_comment(Array, true)
       #6 /home/admin/public_html/wp-comments-post.php(25): wp_handle_comment_submission(Array)
       #7 {main}
         thrown in /home/admin/public_html/wp-includes/formatting.php on line 5304
   
       2021-09-06T03:53:30+00:00 CRITICAL Uncaught Error: Object of class WP_Error could not be converted to string in /home/admin/public_html/wp-includes/formatting.php:5304
       Stack trace:
       #0 /home/admin/public_html/wp-includes/formatting.php(5304): preg_replace('@<(script|style...', '', Object(WP_Error))
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(303): wp_strip_all_tags(Object(WP_Error))
       #2 /home/admin/public_html/wp-includes/plugin.php(189): WP_Hook->apply_filters(Object(WP_Error), Array)
       #3 /home/admin/public_html/wp-includes/comment.php(2114): apply_filters('pre_comment_aut...', Object(WP_Error))
       #4 /home/admin/public_html/wp-includes/comment.php(2263): wp_filter_comment(Array)
       #5 /home/admin/public_html/wp-includes/comment.php(3567): wp_new_comment(Array, true)
       #6 /home/admin/public_html/wp-comments-post.php(25): wp_handle_comment_submission(Array)
       #7 {main}
         thrown in /home/admin/public_html/wp-includes/formatting.php on line 5304
   
       2021-09-06T10:08:31+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
   
       2021-09-06T10:11:39+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
   
       2021-09-06T10:13:28+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
   
       2021-09-06T10:16:04+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
   
       2021-09-06T10:17:56+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
   
       2021-09-06T10:52:07+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
   
       2021-09-06T11:01:59+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
   
       2021-09-06T11:03:24+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
   
       2021-09-06T11:25:35+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
   
       2021-09-06T13:22:37+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
   
       2021-09-06T13:26:44+00:00 CRITICAL Uncaught Error: Call to a member function date() on null in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php:1529
       Stack trace:
       #0 /home/admin/public_html/wp-includes/class-wp-hook.php(303): WC_AJAX::add_order_note('')
       #1 /home/admin/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
       #2 /home/admin/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #3 /home/admin/public_html/wp-admin/admin-ajax.php(187): do_action('wp_ajax_woocomm...')
       #4 {main}
         thrown in /home/admin/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php on line 1529
       ```
   
 * Any ideas why this is happening?
 * Many thanks,
 * Nath

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [nthanwrexhamtech](https://wordpress.org/support/users/nthanwrexhamtech/)
 * (@nthanwrexhamtech)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/order-notes-infinite-load/#post-14843689)
 * Further to this, on another website (similar in setup), it’s also displaying 
   status updates such as ‘Order status changed from Pending payment to Processing.’
   in the Order notes area. On the website throwing the above errors, nothing is
   showing up in Order notes whatsoever.
 *  Plugin Support [Niall a11n](https://wordpress.org/support/users/wpniall/)
 * (@wpniall)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/order-notes-infinite-load/#post-14846138)
 * Hi [@nthanwrexhamtech](https://wordpress.org/support/users/nthanwrexhamtech/),
 * Happy to help!
 * Sorry to hear you’re having trouble adding `Order notes`.
 * Hmm, there are many [causes of 500 errors](https://kinsta.com/blog/500-internal-server-error/),
   including a conflict like you mentioned.
 * If you’ve already performed a conflict test, I recommend [causes of 500 errors”>following the instructions here to troubleshoot the 500 error](https://kinsta.com/blog/500-internal-server-error/)
   you’re seeing.
 * Please let us know how that goes or if you need further help!
 *  [MayKato](https://wordpress.org/support/users/maykato/)
 * (@maykato)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/order-notes-infinite-load/#post-14870641)
 * Hi [@nthanwrexhamtech](https://wordpress.org/support/users/nthanwrexhamtech/)
 * We’ve not heard back from you in a while, so I’m marking this thread as resolved.
   Hopefully, you were able to find a solution to your problem! If you have further
   questions, please feel free to open a new topic.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Order Notes – Infinite Load’ 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [MayKato](https://wordpress.org/support/users/maykato/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/order-notes-infinite-load/#post-14870641)
 * Status: resolved