ButlerBlog

chad butler's weblog

  • About
  • Blog
  • WordPress Plugins
  • Contact
Home / Web / WordPress / WP-Members / WP-Members 2.6 bug fix – You do not have sufficient permissions to access this page

WP-Members 2.6 bug fix – You do not have sufficient permissions to access this page

By Chad Butler 6 Comments

In WP-Members 2.6, some changes were made to the way that the plugin references itself for the WP admin menu structure.  There were two small places that a necessary change was omitted.  

If you click on “Settings” on the plugin admin page, you will receive a message “You do not have sufficient permissions to access this page.”  You can still access the settings for the plugin from the WP admin menu.  On the left sidebar menu in the WP admin, click on Settings > WP-Members to get to the settings.

Similarly, in the Users > WP-Members menu, the top menu that allows you to change the list from all users, users not exported, users not activated, etc, will give you the same “You do not have sufficient permissions to access this page” message.  This does not eliminate your ability to access the functions such as activating users.  Users can still be activated an exported; it simply doesn’t allow you to change the list of users displayed based on certain criteria.

A fix for this will be included in what will become WP-Members 2.6.1 which will be primarily a bug fix release.  At this time, I am not rushing this bug fix release out the door because this particular bug is simply an annoyance, rather than something that shuts down the plugin.

In the meantime, if you would like to apply the fix for these bugs, both of them are simple changes to wp-members-admin.php.

The first change for the settings link is found at line 28.  The page parameter of wp-members.php needs to be changed to wpmem-settings.

Change the line from this:

$settings_link = '<a href="options-general.php?page=wp-members.php">' . __('Settings') . '</a>';

To this:

$settings_link = '<a href="options-general.php?page=wpmem-settings">' . __('Settings') . '</a>';

For the bulk user management screen, the change is in the same wp-members-admin.php file at line 837 (that’s a long way down there, so if you don’t have an editing tool that gives line numbers, just do a search for code as shown below)

Similar to the first change, we are changing the page parameter from wp-members-admin.php, to wpmem-users.

Change the line from this:

$link = "users.php?page=wp-members.php";

To this:

$link = "users.php?page=wpmem-users";

As I mentioned, these fixes will be included in the bug fix release.

Enjoyed this article?

Don't miss a single post. Subscribe to our RSS feed!

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print
  • More
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Pinterest (Opens in new window) Pinterest

Filed Under: WP-Members Tagged With: plugins, WP-Members

About Chad Butler

Chad Butler is a freelance writer and web developer. He has developed several popular WordPress plugins and has written for forbes.com, sfomag.com, and investopedia.com. He also runs a small organic farm in east Georgia.

Join Us!

I will never share your information. No spam. No junk. No kidding. Unsubscribe anytime.

Recent Posts:

  • The High Price of Free Plugins
  • YouTube Success: Key Tips for Enhancing Video Optimization and Visibility
  • Mobile App vs. Mobile Website Ideal Choice for your Business
  • Top Strategies to Boost Your Brand’s Visibility and Impact
  • Advanced Blogging Strategies: Using Analytics, A/B Testing, and Conversion Optimization Techniques to Grow Your Audience
  • Unlock Real-Time Process Insights to Save Time and Money
  • How Writers Can Attract More Audience Attention
  • Dress for Success – Even at Home
  • Mastering the Art of Crafting SMART Marketing Goals
  • Rediscover Your Brand Story: 7 Tips for Refreshing Your Company Identity

Archives

  • About
  • Blog
  • Archive
  • Contact

Site powered by WordPress, running on the Genesis Framework from StudioPress.

Unless otherwise noted, content on this site is © 2006-2025 ButlerBlog and may not be reproduced without express written permission from the author.

Some content may include affiliate links for which this site receives a small commission.