Non-object error on is_404
-
Hi Devin
add_body_classes() throws a non-object Notice when it tries to call get_the_ID() on line 248 when is_404 is true (because there is no post object to get).
Just a heads up. Thanks for your plugins.
-jfleming
- The topic ‘Non-object error on is_404’ is closed to new replies.