Get a 500 error when trying to create new template (involving Yoast)
-
Hi,
Yesterday I have created my first template in Pods. Works great. This morning (The Netherlands) I tried to create a new one. Sadly the system throws me a 500 error. what ever I try it still persists. Cleared caches, restart of the browser, tried another browser, restart machine, deactivate plugin and activated it again and finally removed the plugin and re-installed it again.All no avail.
At last I found out that it occurs when the Yoast plugin is active see below the Debug log below:Notice: Trying to get property of non-object in /Users/adri/Documents/websites/htdocs_playground/wp-includes/post.php on line 6136
Notice: Trying to get property of non-object in /Users/adri/Documents/websites/htdocs_playground/wp-includes/post.php on line 6137
Notice: Trying to get property of non-object in /Users/adri/Documents/websites/htdocs_playground/wp-includes/post.php on line 6141
Notice: Trying to get property of non-object in /Users/adri/Documents/websites/htdocs_playground/wp-includes/post.php on line 6360
Notice: Trying to get property of non-object in /Users/adri/Documents/websites/htdocs_playground/wp-includes/theme.php on line 2863
Notice: Trying to get property of non-object in /Users/adri/Documents/websites/htdocs_playground/wp-content/plugins/widget-options/includes/transient.php on line 18
Notice: Trying to get property of non-object in /Users/adri/Documents/websites/htdocs_playground/wp-includes/theme.php on line 3087
Notice: Trying to get property of non-object in /Users/adri/Documents/websites/htdocs_playground/wp-includes/post.php on line 4161
Notice: Trying to get property of non-object in /Users/adri/Documents/websites/htdocs_playground/wp-includes/post.php on line 4161
Notice: Trying to get property of non-object in /Users/adri/Documents/websites/htdocs_playground/wp-includes/post.php on line 3662
Fatal error: Uncaught TypeError: Argument 2 passed to WPSEO_Link_Watcher::save_post() must be an instance of WP_Post, null given, called in /Users/adri/Documents/websites/htdocs_playground/wp-includes/class-wp-hook.php on line 288 and defined in /Users/adri/Documents/websites/htdocs_playground/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php:43 Stack trace: #0 /Users/adri/Documents/websites/htdocs_playground/wp-includes/class-wp-hook.php(288): WPSEO_Link_Watcher->save_post(0, NULL) #1 /Users/adri/Documents/websites/htdocs_playground/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /Users/adri/Documents/websites/htdocs_playground/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /Users/adri/Documents/websites/htdocs_playground/wp-includes/post.php(3673): do_action(‘save_post’, 0, NULL, false) #4 /Users/adri/Documents/websites/htdocs_playground/wp-admin/includes/post.php(608): wp_insert_post(Array) #5 /Users/adri/Documents/websites/htdocs_playground/wp-admin/post-new.php( in /Users/adri/Documents/websites/htdocs_playground/wp-content/plugins/wordpress-seo/admin/links/class-link-watcher.php on line 43
I have send an email over to Yoast to look into this matter but I think it is a good idea to look into it.
All help is much appreciated.
I can manage to get my work done by deactivating yoast and reactivate it when I’m done but this situation is not ideal as you can imagine.Thanks in advance,
Best wishes,Adri
The topic ‘Get a 500 error when trying to create new template (involving Yoast)’ is closed to new replies.