Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Fatal error after last update
- This topic has 3 replies, 2 voices, and was last updated 2 weeks, 3 days ago by
Ernest Marcinko.
-
AuthorPosts
-
May 18, 2026 at 7:32 am #57428
insideadmin_520F
ParticipantThe latest update (4.28.5) is causing a fatal error as the class “WPDRMS\\ASP\\Utils\\Server” is not found.
Full error log:
[Mon May 18 09:21:15.909891 2026] [php:error] [pid 1433708] [client 10.212.134.132:55003] PHP Fatal error: Uncaught Error: Class “WPDRMS\\ASP\\Utils\\Server” not found in /var/www/html/media/wp-content/plugins/ajax-search-pro/src/server/Updates/Manager.php:173\nStack trace:\n#0 /var/www/html/media/wp-content/plugins/ajax-search-pro/src/server/Updates/Manager.php(80): WPDRMS\\ASP\\Updates\\Manager->getDownloadUrl()\n#1 /var/www/html/media/wp-includes/class-wp-hook.php(343): WPDRMS\\ASP\\Updates\\Manager->check_update()\n#2 /var/www/html/media/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#3 /var/www/html/media/wp-includes/option.php(2654): apply_filters()\n#4 /var/www/html/media/wp-includes/update.php(425): set_site_transient()\n#5 /var/www/html/media/wp-includes/class-wp-hook.php(339): wp_update_plugins()\n#6 /var/www/html/media/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()\n#7 /var/www/html/media/wp-includes/plugin.php(522): WP_Hook->do_action()\n#8 /var/www/html/media/wp-admin/includes/class-plugin-upgrader.php(412): do_action()\n#9 /var/www/html/media/wp-admin/update.php(51): Plugin_Upgrader->bulk_upgrade()\n#10 {main}\n thrown in /var/www/html/media/wp-content/plugins/ajax-search-pro/src/server/Updates/Manager.php on line 173, referer: https://xxx/media/wp-admin/update-core.php?action=do-plugin-upgrade
[Mon May 18 09:21:16.707037 2026] [php:error] [pid 1433708] [client 10.212.134.132:55003] PHP Fatal error: Trait “WPDRMS\\PluginCore\\Traits\\SingletonTrait” not found in /var/www/html/media/wp-content/plugins/ajax-search-pro/src/server/Misc/OutputBuffer.php on line 7, referer: https://xxx/media/wp-admin/update-core.php?action=do-plugin-upgrade
[Mon May 18 09:21:59.205354 2026] [php:notice] [pid 1486652] [client 10.212.134.132:62307] WordPress database error Table ‘media.media_ajaxsearchpro_statistics’ doesn’t exist for query SELECT COUNT(*) FROMmedia_ajaxsearchpro_statisticsmade by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WPDRMS\\ASP\\Core\\Manager->init, WPDRMS\\ASP\\Core\\Init->safety_check, WPDRMS\\ASP\\Core\\Init->activate, WPDRMS\\ASP\\Database\\Manager->create, WPDRMS\\ASP\\Database\\Manager->count, referer: https://xxx/media/wp-admin/update-core.php?action=do-plugin-upgrade
[Mon May 18 09:21:59.205418 2026] [php:error] [pid 1486652] [client 10.212.134.132:62307] PHP Fatal error: Uncaught TypeError: WPDRMS\\ASP\\Database\\Manager::count(): Return value must be of type int, null returned in /var/www/html/media/wp-content/plugins/ajax-search-pro/src/server/Database/Manager.php:200\nStack trace:\n#0 /var/www/html/media/wp-content/plugins/ajax-search-pro/src/server/Database/Manager.php(128): WPDRMS\\ASP\\Database\\Manager->count()\n#1 /var/www/html/media/wp-content/plugins/ajax-search-pro/src/server/Core/Init.php(41): WPDRMS\\ASP\\Database\\Manager->create()\n#2 /var/www/html/media/wp-content/plugins/ajax-search-pro/src/server/Core/Init.php(67): WPDRMS\\ASP\\Core\\Init->activate()\n#3 /var/www/html/media/wp-content/plugins/ajax-search-pro/src/server/Core/Manager.php(98): WPDRMS\\ASP\\Core\\Init->safety_check()\n#4 /var/www/html/media/wp-includes/class-wp-hook.php(341): WPDRMS\\ASP\\Core\\Manager->init()\n#5 /var/www/html/media/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()\n#6 /var/www/html/media/wp-includes/plugin.php(522): WP_Hook->do_action()\n#7 /var/www/html/media/wp-settings.php(742): do_action()\n#8 /var/www/html/media/wp-config.php(102): require_once(‘…’)\n#9 /var/www/html/media/wp-load.php(50): require_once(‘…’)\n#10 /var/www/html/media/wp-blog-header.php(13): require_once(‘…’)\n#11 /var/www/html/media/index.php(17): require(‘…’)\n#12 {main}\n thrown in /var/www/html/media/wp-content/plugins/ajax-search-pro/src/server/Database/Manager.php on line 200, referer: https://xxx/media/wp-admin/update-core.php?action=do-plugin-upgrade-
This topic was modified 2 weeks, 3 days ago by
insideadmin_520F.
May 18, 2026 at 8:24 am #57430Ernest Marcinko
KeymasterHi,
You can safely ignore this error, it popped up during the automated update process during the replacement and will not replicate again.
In the new version some files were moved to a different namespace and momentarily when the WordPress updater replaced them an existing hook was still running referencing the old locations.
May 18, 2026 at 8:27 am #57431insideadmin_520F
ParticipantOk, thats weired. Had to reload the page twice and the error has gone.
-
This reply was modified 2 weeks, 3 days ago by
insideadmin_520F.
May 18, 2026 at 8:38 am #57433Ernest Marcinko
KeymasterExactly, it was only a reference to an old file location as it’s shown in the error message. In case it would pop-up again, then let me know and I will investicate closer, but it should be all okay from now on.
-
This topic was modified 2 weeks, 3 days ago by
-
AuthorPosts
- You must be logged in to reply to this topic.