error 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?
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.