• When I try to edit the settings for any plugin I get the “You do not have sufficient permissions…” error.

    I’ve tried the default theme, I’ve deactivated all plugins and tried activating one at a time. (They activate, but I can’t configure them. For example, I can’t activate Akismet.) It’s a brand new install of WP and hasn’t worked from the start.

    I turned on DEBUG mode and got this message: “Notice: Undefined offset: 1 in …/public_html/wp-includes/vars.php on line 31”

    I uploaded a fresh version of vars.php, but nothing changed. I don’t even know if it’s related because the message still appears when I access the other options like Genreal, Writing, Reading, etc. even though those settings work just fine.

    Anyone have a clue?

    EDIT: I’ve also browsed the permissions and they all seem to be in order, however, I’m not sure which file specifically relates to plugin settings.

Viewing 1 replies (of 1 total)
  • In general, all folders are 0755 and all files are 0644. This should apply to any file or folder anywhere in your WordPress site. If you find something different, contact your hosting company. They can tell you if they require different permissions. They can also make global changes very quickly if the permissions need changing. This can save you a lot of time and effort.

    If permissions are not your issue, look at usermeta for your user in phpmyadmin. It’s always a good idea to backup your database before doing any work there. Plus be extra careful, there is no undo button. Phpmyadmin is located in your hosting account. If you have problems finding or using phpmyadmin look at the knowledge base provided by your host or contact them for more information.

    When in phpmyadmin first look for the users table. If you use the standard prefix, it will be wp_users. Click Browse and find yourself in the users table. Make note of your ID. Then go to wp_usermeta and choose Browse. Look for your user_id (from the previous step), meta_key=wp_user_level and meta_value=10. If you find something other than ten edit the field to ten.

    Here is a link to a similar process. You should only need to follow the steps in the previous paragraph. I’m just adding it because the visuals may be helpful. https://www.wpbeginner.com/wp-tutorials/how-to-add-an-admin-user-to-the-wordpress-database-via-mysql/

Viewing 1 replies (of 1 total)
  • The topic ‘Sufficient Permissions’ is closed to new replies.