Plugin was redirecting to wrong page after a successful taxonomy switch. Changed the page to the tools page instead of the options-general.php, which was giving an error.