- This topic has 1 reply, 2 voices, and was last updated 6 years, 1 month ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › PHP Error Using Add On Member Info Shortcode
First of all, I am very greatful for this plugin. This is amazing work. Please see these errors below:
I am building a custom member panel and I am using this addon in a table. I am getting these errors b/c I am logged in as Admin and I do not have a membership level setup for the admin account.
Notice: Trying to get property ‘membership_level’ of non-object in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/swpm-show-member-info/swpm-show-member-info.php on line 55
Notice: Trying to get property ‘alias’ of non-object in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/simple-membership/classes/class.swpm-utils-membership-level.php on line 20
Notice: Trying to get property ‘membership_level’ of non-object in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/simple-membership/classes/class.swpm-utils.php on line 78
Hi,
Have you tried giving admin access to protected content? If not please read the following documentation.
https://simple-membership-plugin.com/giving-wordpress-admin-user-access-protected-content/
Let me know if the above helps you.
Thank you