trying to get property of non-object error in php
-
I’m getting this error:
[18-Apr-2022 13:01:27 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/userlalala/domainname.com/wp-content/plugins/events-manager/classes/em-location-post.php on line 76 [18-Apr-2022 13:01:27 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/userlalala/domainname.com/wp-content/plugins/events-manager/classes/em-event-post.php on line 99 [18-Apr-2022 13:01:27 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/userlalala/domainname.com/wp-content/plugins/events-manager/classes/em-location-post.php on line 76 [18-Apr-2022 13:01:27 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/userlalala/domainname.com/wp-content/plugins/events-manager/classes/em-event-post.php on line 99 [18-Apr-2022 13:01:27 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/userlalala/domainname.com/wp-content/plugins/events-manager/classes/em-location-post.php on line 76 [18-Apr-2022 13:01:27 UTC] PHP Notice: Trying to get property 'post_type' of non-object in /home/userlalala/domainname.com/wp-content/plugins/events-manager/classes/em-event-post.php on line 99
Usually at least in pairs. Any help you could provide in fixing this would be great, thank you!!
- The topic ‘trying to get property of non-object error in php’ is closed to new replies.