Locked out of Admin section due to fatal error

I went to activate all features in the ultimate branding plugin and now can't go inside the admin panel due to the following error:

Fatal error: Call to a member function get_page_permastruct() on a non-object in /home/wondervegas/public_html/wp-includes/link-template.php on line 361

I changed the folder name so the plugin would be deactivated so I can log back in. When I tried to reinstall the plugin I get locked out again with the above error. I have currently renamed the plugin again to have access to the admin area.

Are there database tables that may be deleted so I may try to install the plugin again?

Thanks John