Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › mysql error after upgrading
This topic contains 2 replies, has 2 voices, and was last updated by devineone 5 years, 2 months ago.
- AuthorPosts
- March 22, 2018 at 2:30 pm #17232
Hello,
Upgraded to new version today but getting in error from query monitor.
do_action(‘init’)
wp-includes/plugin.php:453
WD_ASP_Manager->init()
wp-content/plugins/ajax-search-pro/includes/classes/core/class-asp-manager.php:83
WD_ASP_Init->safety_check()
wp-content/plugins/ajax-search-pro/includes/classes/core/class-asp-init.php:71
WD_ASP_Init->activate()
wp-content/plugins/ajax-search-pro/includes/classes/core/class-asp-init.php:35
WD_ASP_DBMan->create()
wp-content/plugins/ajax-search-pro/includes/classes/core/class-asp-dbman.php:81error message: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘IF’ at line 1
This only started after upgrading and creating a new index table. Any ideas?
Thanks
Cory DevineMarch 22, 2018 at 5:24 pm #17233Hi,
Interesting, as the file, that the error is referring to has not been changed from the previous version. The index table structure was not changed either, the error refers to a different file.
The only thing I can think of, is that the file might have been corrupted in some way. Try re-installing the plugin manually via the plugin manager, just to be sure. If the error only occured once, then you should safely ignore it.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
March 23, 2018 at 12:56 am #17237Thanks. The error seems to have fixed itself. Will keep an eye out if it appears again.
- AuthorPosts
You must be logged in to reply to this topic.