Trying to get property ‘post_type’ of non-object
-
We have wpadverts plugin enabled on a site, and are setting up Replyable
to email notices of new comments – in the middle of a certain Replyable email the php notice is included:Notice: Trying to get property 'post_type' of non-object in /path/to/wp-content/plugins/wpadverts/includes/functions.php on line 520
That’s with WP Adverts Version 1.3.7
(You probably don’t need to reproduce it (just check that $post is an object and post_type is set), but if so the comment was a reply to a previous comment, and it was when displaying a custom post type, not native ‘post’.)
Thanks…
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Trying to get property ‘post_type’ of non-object’ is closed to new replies.