I was trying to clear up some empty tables left behind by other previously used plugins. As such i was trying to delete the GD Star rating plugin and now I cannot access my WP admin. i get the 'You do not have sufficient permissions to access this page'
I turned on the debug to true and saw the errors caused by lots of plugins. So I disabled all of them, but nothing helps:
This was the query I had run (and then just checked the output and clicked 'Drop' which messed it up.
SELECT *
FROM `mydomain_main`.`wp_options`
WHERE (
`option_id` LIKE '%ratings_%'
OR `blog_id` LIKE '%ratings_%'
OR `option_name` LIKE '%ratings_%'
OR `option_value` LIKE '%ratings_%'
OR `autoload` LIKE '%ratings_%'
)
Can someone please please advise
wp_optionstable. – Bainternet♦ Jul 15 '11 at 14:26wp_user_rolesand reset it to the default as posted here wordpress.stackexchange.com/questions/17614/… – Bainternet♦ Jul 15 '11 at 15:55Notice: Undefined index: page in public_html/wp-content/themes/weekly/functions/theme-options.php on line 444 Notice: Undefined index: in public_html/wp-admin/includes/menu.php on line 219 You do not have sufficient permissions to access this page.theme-options line 444 has the following code:if ( $_GET['page'] == basename(__FILE__) ) {– Sledge81 Jul 15 '11 at 16:21