Support » Plugin: Members » 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 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 6 months, 4 weeks ago by  the_lar.
Viewing 1 replies (of 1 total)
  • Plugin Author Justin Tadlock

    (@greenshady)

    WordPress God

    This is most likely due to an issue in your theme calling something incorrectly. If you’d like me to dig into that, you’ll need sign up for support at my Web site.

Viewing 1 replies (of 1 total)
  • The topic ‘Notice given on Archive page when there are no posts’ is closed to new replies.