Wordpress Error: "Without sufficient permission to access this page"

Asked

Viewed 8,164 times

3

My Wordpress site with Woocommerce shows the following message when informing login access:

.. "Without sufficient permission to access this page".

What I’ve tried, unsuccessfully:

  1. Delete that translation file in the folder Languages how some forums inform.
  2. Put in the root the file force-upgrade.php.

If you could help me, I’d really appreciate it!

  • I am admin @Marconi

  • In my case, I had renamed the prefixes of the table to something other thanwp_ and then gave this error. I renamed it back towp_ and everything started working again.

3 answers

6

I managed to solve! Follow the solution found for my problem.

  1. Enter the phpMyadmin/, enter the used database.

  2. Find the table wp_usermeta 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
      
  • It didn’t work in Wordpress 4.5.2. Current permissions are a:1:{s:13:"administrator";b:1;}

0

This has to do with the code generated by: http://api.wordpress.org/secret-key/1.1/

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

-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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.