Wordpress error: "Not enough permission to access this page"

2

My Wordpress site with WooCommerce shows the following message when I access the login :

  

.. "Not enough permission to access this page."

What I've tried, to no avail:

  • Delete that translation file in the languages folder as reported by some forums.
  • Put root the force-upgrade.php file.
  • If you can help me thank you very much!

        
    asked by anonymous 23.04.2015 / 02:32

    3 answers

    4

    I was able to solve it! Here is the solution found for my problem.

  • Enter phpMyadmin/ , enter the database used.

  • Find the wp_usermeta table and leave the following lines exactly with this code:

    • wp_capabilities should be:

      a:1:{s:13:"administrator";s:1:"1";}
      
    • wp_user_level should be:

      10
      
  • 24.04.2015 / 05:20
    0

    This has to do with the code generated by: link

    To fix the error simply generate another key and put it in wp-config.php, everything ready goes back to working normally in the easiest and simplest way possible.

        
    07.03.2017 / 00:10
    -3

    The friend's tip worked here

    Entrar no phpMyadmin/, entrar no banco de dados usado.
    
    Encontrar a tabela wp_usermeta e deixar as seguintes linhas exatamente com esse código:
    
        wp_capabilities deverá ser:
    
        a:1:{s:13:"administrator";s:1:"1";}
    
        wp_user_level deverá ser:
    
        10
    
        
    20.11.2018 / 21:17