Another solution for WordPress’ “You do not have sufficient permissions to access this page.”

Many WordPress users have run in to the error “You do not have sufficient permissions to access this page.” Sometimes, it is because you changed the table prefix and the solution is a database change. For other folks, it was due to old plugin incompatibility. To fix it, you need to replace admin_head with admin_menu. …