Notice given on Archive page when there are no posts
-
Hi,
I’m getting a PHP notice on my archive page for a custom post type when there aren’t any posts of that type – is that normal?
The notice I’m getting is:
Notice: Trying to get property of non-object in C:\Users\Me\Documents\project\public_html\wp-content\plugins\members\inc\template.php on line 95
As soon as I create a post of the correct type, the notice goes away.
I havedefine('WP_DEBUG', false);
set in my wp-config so I would have thought this notice would be hidden?
Many thanks
Kevin
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Notice given on Archive page when there are no posts’ is closed to new replies.