Trying to get property ‘post_type’ of non-object
-
Hello
When I edit ACF fields, I sometimes get this error randomly:
ErrorException: Trying to get property 'post_type' of non-object at /httpdocs/web/app/plugins/w3-total-cache/Util_Environment.php:1221 at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() (/httpdocs/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:54) at Roots\Acorn\Bootstrap\HandleExceptions->handleError() (/httpdocs/web/app/plugins/w3-total-cache/Util_Environment.php:1221) at W3TC\Util_Environment::is_custom_post_type() (/httpdocs/web/app/plugins/w3-total-cache/PgCache_Flush.php:79) at W3TC\PgCache_Flush->flush_post() (/httpdocs/web/app/plugins/w3-total-cache/PgCache_Plugin.php:356) at W3TC\PgCache_Plugin->w3tc_flush_post() (/httpdocs/web/wp/wp-includes/class-wp-hook.php:309) at WP_Hook->apply_filters() (/httpdocs/web/wp/wp-includes/class-wp-hook.php:331) at WP_Hook->do_action() (/httpdocs/web/wp/wp-includes/plugin.php:476) at do_action() (/httpdocs/web/app/plugins/w3-total-cache/CacheFlush_Locally.php:156) at W3TC\CacheFlush_Locally->flush_post() (/httpdocs/web/app/plugins/w3-total-cache/CacheFlush.php:122) at W3TC\CacheFlush->flush_post() (/httpdocs/web/app/plugins/w3-total-cache/Util_AttachToActions.php:93) at W3TC\Util_AttachToActions->on_post_change() (/httpdocs/web/wp/wp-includes/class-wp-hook.php:307) at WP_Hook->apply_filters() (/httpdocs/web/wp/wp-includes/class-wp-hook.php:331) at WP_Hook->do_action() (/httpdocs/web/wp/wp-includes/plugin.php:476) at do_action() (/httpdocs/web/wp/wp-includes/post.php:7408) at clean_post_cache() (/httpdocs/web/wp/wp-includes/post.php:3461) at wp_delete_post() (/httpdocs/web/app/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php:1115) at acf_delete_field() (/httpdocs/web/app/plugins/advanced-custom-fields-pro/includes/admin/admin-field-group.php:485) at acf_admin_field_group->save_post() (/httpdocs/web/wp/wp-includes/class-wp-hook.php:309) at WP_Hook->apply_filters() (/httpdocs/web/wp/wp-includes/class-wp-hook.php:331) at WP_Hook->do_action() (/httpdocs/web/wp/wp-includes/plugin.php:476) at do_action() (/httpdocs/web/wp/wp-includes/post.php:4673) at wp_insert_post() (/httpdocs/web/wp/wp-includes/post.php:4775) at wp_update_post() (/httpdocs/web/wp/wp-admin/includes/post.php:426) at edit_post() (/httpdocs/web/wp/wp-admin/post.php:227)
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Trying to get property ‘post_type’ of non-object’ is closed to new replies.