I am getting the following error on any single post for a custom post type I created called “members”.
Warning: Attempt to assign property of non-object in /home/sebaboston/public_html/wp-content/plugins/members/includes/functions.php on line 21
I have the Members plugin set to show only this CPT when a user is logged in as a contributor. The only pages it appears on are the single post pages for the “members” CPT.
The site is hosted on GoDaddy if that matters. Thank you!
- The topic ‘"Attempt to assign property of non-object" error’ is closed to new replies.