• This problem is driving me nuts! I can login okay but cannot access wp dashboard via wp-admin despite being the only administrator in the database. Error msg reads “Sorry, you are not allowed to access this page” (yes, yes, I know there are countless threads on the topic both here and elsewhere, but NOWHERE can I find a solution that fixes my problem). I’m using ET Divi theme and CAN access the dashboard by opening a page while logged in and using the theme’s Edit Page button in the admin bar, however the dashboard pane does not show ‘Home’ nor ‘Updates’ links.

    I currently have the site in maintenance mode.

    Things I have tried (in no particular order):

      Disabled all plugins
      Changed to default twenty seventeen theme
      Cleared caches
      Private browsing
      Updated permissions (files to 644, folders to 755)
      Removed .htaccess
      Added new administrator (multiple times via phpMyAdmin and ‘Add New User’ in dashboard)
      Reinstalling WP via FTP (not overwriting contents folder though)
      Updated wp-config.php to include define(‘FORCE_SSL_ADMIN’, true);
      if ($_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
      $_SERVER[‘HTTPS’]=’on’;

    I have run Debug and get the following error…
    wp-includes/functions.php:4076 – has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
    include(‘wp-admin/edit-form-advanced.php’), require_once(‘wp-admin/admin-header.php’), require(‘wp-admin/menu-header.php’), _wp_menu_output, current_user_can, call_user_func_array, WP_User->has_cap, _deprecated_argument, do_action(‘deprecated_argument_run’)

    I’m not sure if this is at the heart of the problem, but if it is, I’m not sure what I have to do to fix it.

    Appreciate any advice/solution that doesn’t mean repeating all the above failed attempts. Thanks…

    • This topic was modified 6 years, 2 months ago by ozfader.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter ozfader

    (@ozfader)

    Also, I forgot to mention that I can’t access my own profile. I get the same ‘Sorry…’ error. I CAN access other users though.

Viewing 1 replies (of 1 total)
  • The topic ‘Sorry, you are not allowed to access this page’ is closed to new replies.