Fatal error after disabling ctools I was getting fatal error to do with ctools along the bottom of each page of my site. To try to fix the issue I logged in as admin, and disabled 3 ctools modules in my website: 


Custom Content panes
Page manager 
Views content pane


This gave me an error page and my site is totally inaccessible or viewable. I turned them back on manually in the database, but now I get this error message:


  Fatal error: Call to undefined function page_manager_get_task() in /var/www/mywebsite.com/httpdocs/sites/all/modules/ctools/page_manager/plugins/tasks/page.inc on line 266


Does anyone know how to fix this?
Its really hard to figure out a solution for your issue without trying different options; but I hope the following instructions will help you.


Backup your current database
Open phpMyAdmin or any desirable MySQL administration tool.
Delete all ctools modules from system table or run this query 

DELETE FROM system WHERE name LIKE '%ctool%'
Drop ctools tables ctools_css_cache, ctools_custom_content, ctools_object_cache or run these queries 

DROP TABLE ctools_css_cache

DROP TABLE ctools_custom_content

DROP TABLE ctools_object_cache
truncate all cache tables (cache table and all tables with prefix cache_), example of truncate query 

TRUNCATE TABLE cache