Today we noticed that we're getting the following fatal error anytime we try to create a new post (or any other post type). As a result, we are completely unable to create any new content. All Toolset software is up to date.
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-includes/post.php on line 7358
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-includes/post.php on line 7359
Notice: Trying to get property 'ID' of non-object in /home/ncstage/public_html/wp-includes/post.php on line 7363
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-includes/post.php on line 7605
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-includes/theme.php on line 3421
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-content/plugins/toolset-blocks/backend/Controllers/Admin/ContentTemplate.php on line 78
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-includes/theme.php on line 3645
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-includes/post.php on line 5148
Notice: Trying to get property 'ID' of non-object in /home/ncstage/public_html/wp-includes/post.php on line 5148
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-includes/post.php on line 4457
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/user-editors/editor/screen/gutenberg/backend.php on line 639
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields-post.php on line 687
Notice: Trying to get property 'post_status' of non-object in /home/ncstage/public_html/wp-content/plugins/toolset-blocks/backend/Services/ViewParsingService.php on line 158
Notice: Trying to get property 'post_type' of non-object in /home/ncstage/public_html/wp-content/plugins/toolset-blocks/backend/Services/ViewParsingService.php on line 161
Notice: Trying to get property 'post_content' of non-object in /home/ncstage/public_html/wp-content/plugins/toolset-blocks/backend/Services/ViewParsingService.php on line 166
Notice: Trying to get property 'post_content' of non-object in /home/ncstage/public_html/wp-content/plugins/toolset-blocks/backend/Services/ViewParsingService.php on line 107
Fatal error: Uncaught TypeError: Argument 2 passed to OTGS\Toolset\Views\Controllers\Admin\ContentTemplate::set_default_content_template_meta() must be an instance of WP_Post, null given, called in /home/ncstage/public_html/wp-includes/class-wp-hook.php on line 303 and defined in /home/ncstage/public_html/wp-content/plugins/toolset-blocks/backend/Controllers/Admin/ContentTemplate.php:138 Stack trace: #0 /home/ncstage/public_html/wp-includes/class-wp-hook.php(303): OTGS\Toolset\Views\Controllers\Admin\ContentTemplate->set_default_content_template_meta(0, NULL, false) #1 /home/ncstage/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(false, Array) #2 /home/ncstage/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array) #3 /home/ncstage/public_html/wp-includes/post.php(4479): do_action('wp_insert_post', 0, NULL, false) #4 /home/ncstage/public_html/wp-admin/includes/post.php(694): wp_insert_post(Array, false, false) #5 /home/ncstage/public_html/wp-admin/post-new.php(66): get_default_post_to_edi in /home/ncstage/public_html/wp-content/plugins/toolset-blocks/backend/Controllers/Admin/ContentTemplate.php on line 138
There has been a critical error on this website. Please check your site admin email inbox for instructions.
Learn more about troubleshooting WordPress.