title: Wordpress - Sorry, you are not allowed to edit this item
body: <p>I've got weird error message on one of my site after moving to a new hosting </p>
  
  <blockquote>
    <p>Sorry, you are not allowed to edit this item.</p>
  </blockquote>
  
  <p>What I found as solutions and didn't work for me is:</p>
  
  <ol>
  <li><p>I checked all the prefix stuff since my perfix isnt <code>wp_</code> so everything is accurate in <code>users_meta</code>, also in <code>wp_options</code>.</p></li>
  <li><p>I even tried inserting new administration user with php code, I got the same error.</p></li>
  <li><p>I also tried deactivating all the plugins &amp; resetting to default theme but nothing worked.</p></li>
  </ol>
  
  <p>The server i'm moved on to has ssl, so its https conenction which is covered with updates of all urls inside db.</p>
  
  <p>Another issue is when i logged in <code>wp-admin</code> it shows same message</p>
  
  <blockquote>
    <p>Sorry, you are not allowed to edit this item.</p>
  </blockquote>
  
  <p>In the front-end I see the fully functional wp-bar with all buttons edit page/Create New post/page/etc. But when I click it shows same error as above.</p>
  
  <p>Any suggestions?</p>