Hum … You have a normal MySQL database ? The idea of that line is to test if an index exist in that table and then delete it if it exists …
Could you type this command directly in your database to have the full error ?
Thread Starter
xforce
(@xforce)
No errors, I tried to run it via phpmyadmin and heidisql. No errors in both of them.
Therefore it is very strange … And if you try to reactivate the plugin ? Sometime WP generates some random error
Thread Starter
xforce
(@xforce)
Tried many times, but when I turn off the WP_DEBUG flags, it works. I tried to debug it but didn’t found the reason so I posted it here. I also noticed one error.
Its in line 170 core.class.php
add_option("db_version", $db_version);
I have added below line 161 core.class.php
global $db_version;
to fix it.
You are definitely right … it is a bug : I will release a new version in a couple of weeks to correct that.
Thanks a lot.
The “funny” thing is that the plugin is out for years and no one complain for that bug 🙁
Thread Starter
xforce
(@xforce)
No problem. Any idea why I was getting the above error. I tried to debug it but not able to resolve it.
When you add global $db_version; it does not solve the issue ?
Thread Starter
xforce
(@xforce)
This one is solved. I am asking about the show index one.
Oh sorry … I believed that you had only one error !
Definitely I do not know why WP generates an error while MySQL does not !!
Do you have any index for that table ? If so, could you delete the index ?
I have tried the same configuration without any error …
Thread Starter
xforce
(@xforce)
No there are not any indexes for that table. Ok so I think no harm in that error.
Thanks for your help
There is a harm here if you could not activate the plugin no ?
Thread Starter
xforce
(@xforce)
Yes when the debug flags are ON, I can’t activate the plugin. I have to turn them off and then ON again.
IT IS STRANGE !!!
I do not like it anyway …