Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › URGENT — AJAX Search Pro Stopped Working › Reply To: URGENT — AJAX Search Pro Stopped Working
May 28, 2026 at 9:41 am
#57492
Keymaster
Hi,
Thank you very much for the details it helped a lot.
After some debugging I have found the error stack trace:
[28-May-2026 09:30:09 UTC] WordPress database error Table 'scenesderdgreggy.wp_ajaxsearchpro_statistics' doesn't exist for query SELECT COUNT(*) FROM.wp_ajaxsearchpro_statistics. made by activate_plugin, do_action('activate_ajax-search-pro/ajax-search-pro.php'), WP_Hook->do_action, WP_Hook->apply_filters, WPDRMS\ASP\Core\Manager->activationHook, WPDRMS\ASP\Core\Init->activate, WPDRMS\ASP\Database\Manager->create, WPDRMS\ASP\Database\Manager->count
[28-May-2026 09:30:09 UTC] PHP Fatal error: Uncaught TypeError: WPDRMS\ASP\Database\Manager::count(): Return value must be of type int, null returned in /home/scenesderd/www/wp-content/plugins/ajax-search-pro/src/server/Database/Manager.php:200
Stack trace:
#0 /home/scenesderd/www/wp-content/plugins/ajax-search-pro/src/server/Database/Manager.php(128): WPDRMS\ASP\Database\Manager->count('stats')
#1 /home/scenesderd/www/wp-content/plugins/ajax-search-pro/src/server/Core/Init.php(41): WPDRMS\ASP\Database\Manager->create()
#2 /home/scenesderd/www/wp-content/plugins/ajax-search-pro/src/server/Core/Manager.php(406): WPDRMS\ASP\Core\Init->activate()
#3 /home/scenesderd/www/wp-includes/class-wp-hook.php(341): WPDRMS\ASP\Core\Manager->activationHook(false)
#4 /home/scenesderd/www/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters('', Array)
#5 /home/scenesderd/www/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
#6 /home/scenesderd/www/wp-admin/includes/plugin.php(703): do_action('activate_ajax-s...', false)
#7 /home/scenesderd/www/wp-admin/plugins.php(60): activate_plugin('ajax-search-pro...', 'https://www.sce...', false)
#8 {main}
thrown in /home/scenesderd/www/wp-content/plugins/ajax-search-pro/src/server/Database/Manager.php on line 200
This indicated a database issue, where one of the options was corrupted (_asp_db_tables), likely during saving or when migrated from the staging environment. I have removed the option from the database so it’s get refreshed and now the plugin activates and will work as before. This is extremely rare and likely will never happen again.
I left it deactivated for you as I don’t want to change anything on your website without permission.