Replies: 0
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 have define('WP_DEBUG', false);
set in my wp-config so I would have thought this notice would be hidden?
Many thanks
Kevin
- This topic was modified 1 minute ago by the_lar.