Title: Critical Errors
Last modified: June 16, 2020

---

# Critical Errors

 *  Resolved [leighjones123](https://wordpress.org/support/users/leighjones123/)
 * (@leighjones123)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/critical-errors-4/)
 * Hi,
 * My site was working fine yesterday… and to my knowledge, nothing has changed 
   today, however I’m experiencing an issue when using the ‘Add Order’ button on
   the orders page in wp-admin.
    I’m getting the WordPress White Screen Of Death.
   I’ve examined with Query Monitor and the error that is being reported is:
 *     ```
       2020-06-16T18:46:00+00:00 CRITICAL Uncaught TypeError: Argument 2 passed to Elementor\TemplateLibrary\Source_Local::on_save_post() must be an instance of WP_Post, null given, called in /home/snoutwoodorders/public_html/wp-includes/class-wp-hook.php on line 289 and defined in /home/snoutwoodorders/public_html/wp-content/plugins/elementor/includes/template-library/sources/local.php:1081
       Stack trace:
       #0 /home/snoutwoodorders/public_html/wp-includes/class-wp-hook.php(289): Elementor\TemplateLibrary\Source_Local->on_save_post(5805, NULL)
       #1 /home/snoutwoodorders/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
       #2 /home/snoutwoodorders/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
       #3 /home/snoutwoodorders/public_html/wp-includes/post.php(4153): do_action('save_post', 5805, NULL, false)
       #4 /home/snoutwoodorders/public_html/wp-admin/includes/post.php(674): wp_insert_post(Array)
       #5 /home/snoutwoodorders/public_html/wp-admin/post-new.php(66): get_default_post_to_edit('shop_order', true)
       #6 {main}
         in /home/snoutwoodorders/public_html/wp-content/plugins/elementor/includes/template-library/sources/local.php on line 1081
       ```
   
 * Does anyone know how I could resolve?
    Thanks

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

 *  Plugin Support [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/critical-errors-4/#post-12995134)
 * Hi [@leighjones123](https://wordpress.org/support/users/leighjones123/)
 * The error message makes a mention of Elementor. Can you deactivate that for a
   moment and see if that makes any difference?
 *  [AJ a11n](https://wordpress.org/support/users/amandasjackson/)
 * (@amandasjackson)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/critical-errors-4/#post-13048558)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

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

The topic ‘Critical Errors’ 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [AJ a11n](https://wordpress.org/support/users/amandasjackson/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/critical-errors-4/#post-13048558)
 * Status: resolved