Thanks for the report.
The source code for that line is here:
https://github.com/OllieJones/index-wp-mysql-for-speeed/blob/main/code/admin.php#L237
Do you see the same source code when you install the plugin? Do you have php v7.2 or better?
This admin.php code is loaded on every dashboard page load, and run when you use Tools > Index MySQL. If there were a syntax error there, it wouldn’t work anywhere. So, I’m not sure what is wrong; I deactivated, deleted, installed, and activated the plugin on a couple of my test installations with no trouble.
My version has an extra comma in it. I removed it and things are working. You can consider this closed!
Thanks for letting me know. Do you have any idea how that extra comma crept in? If it’s programmer error I’d really like to fix it.
I installed from the WordPress repository on a different site and it happened again. It might not be in sync with the plugin’s github version.
Same thing happend to me as well, One one site it worked perfectly alright that had php7.4, however on another server with php7.2 I faced this issue.
By the way, really awesome plugin. Can we add a mechanism the option to auto list query with no index in monitor and a quick button add those indexes into tables if required.
Regards,
Aamir