Notice: trying to get property of non-object
-
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!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Notice: trying to get property of non-object’ is closed to new replies.