Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Devon Ostendorf

    (@devonostendorf)

    Hi Than_sad,

    Thanks for trying out Post Notif. I am sorry you’re running into issues with it, however. The URL you’ve provided is not resolving for me (the page never comes up) and this is not an issue that’s been reported before.

    So, when you have a chance, would you please send me a screenshot (or a few screenshots, so I can see all) of your Post Notif settings (Settings >> Post Notif from the dashboard)? My email address is my first name at devonostendorf dot com.

    Thanks,
    Devon

    Plugin Author Devon Ostendorf

    (@devonostendorf)

    Just to wrap this up, Than and I determined the issue was a conflict with the Events Manager plugin (version 5.6.2).

    The issue is resolved, such that both Post Notif and Events Manager work properly, by changing line #13, in the em_content() function (../wp-content/plugins/events-manager/em-events.php) from:

    if( empty($post) ) return $page_content; //fix for any other plugins calling the_content outside the loop

    to:

    if ( empty( $post ) || ( ! ( $post->ID ) ) ) return $page_content; // Fix for any other plugins calling the_content outside the loop

    This is necessary because Events Manager assumes that if $post is NOT empty, that implies that $post->ID is assigned to something (other than 0). The way Post Notif’s dynamic (“fake”) pages work, there IS a $post object but NO ID is set (since this is not a real, lasting page and I didn’t think it wise to arbitrarily pick an ID that might later clash with a real page/post ID). The code change above merely treats an unset $post->ID as a reason to leave a page alone (equivalent to the existing check for an empty $post).

    I hope this is helpful for anyone else who might encounter this issue.

    Thanks,
    Devon

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Subscription preferences empty’ is closed to new replies.