Support » Plugin: LH Logged In Post Status » PHP Error

  • Resolved Venutius


    I’m occasionally getting the following error:

    [22-Nov-2018 16:32:39 UTC] PHP Notice: Undefined index: post_status in /wp-content/plugins/lh-logged-in-post-status/lh-logged-in-post-status.php on line 104

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author shawfactor



    not ure how this could occurr from a wordpress point of view (could be a sign of other problems with your site), but from a php point of view I have refactored the code so you will not get that error in the latest version.


    Thanks Pete

    Hi Pete,

    I’m not getting wat seems to be a closely related error:

    [07-Dec-2018 07:00:10 UTC] PHP Notice: Trying to get property ‘post_status’ of non-object in /wp-content/plugins/lh-logged-in-post-status/lh-logged-in-post-status.php on line 89

    I had about 50 occurences inside a minute and was wondering if it was a sign that someone was trying a hack?

    Plugin Author shawfactor


    Probably not a this filter only runs in admin requests, but weirdly I am not sure how it can run without having a post_status, so whilst this is probably not a hacking attempt it indicates some other plugin or theme is likely doing something weird.

    Anyway I´ll release a patch very shortly.


Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.