On every admin page, this error shows up when in debug mode. It'd be nice to clean this up. Lines 557-558 in functions.php
It's easy to check if this is an object first:
if ( !empty( $post_type_object ) )
{
...
}
Thanks for considering it!
On every admin page, this error shows up when in debug mode. It'd be nice to clean this up. Lines 557-558 in functions.php
It's easy to check if this is an object first:
if ( !empty( $post_type_object ) )
{
...
}
Thanks for considering it!
Thanks for the report and the fix.
I don't get this message myself. Have you perhaps added CMS Tree Page View for a custom post type, that you later on have removed?
Anyway, I will add the fix to the next update.
I have a few custom post types, but I'm pretty sure I never added a CMS Tree Page View for them and they're still active. Looks to me like the custom post types could be the reason, though.
btw, adding/removing a tree view on custom post types results in a lot of notices and a WSOD. After this, the tree view works fine, so it's not super important, but could be worth looking into.
You must log in to post.