Table re-create doesn’t work as expected
-
Hey,
I am using the latest version 3.2.1So I installed the plugin and
wp_tm_tasksandwp_tm_taskmetatable get created after install and activate.
then I go to my database and deleted both tables. then tried to run some of the optimizations, and I got errors in the log that `wp_tm_tasks table doesn’t exist as expected.then deactivate the plugin and reactivate It again, but tables don’t get created again. I looked into the code and found
reinstall_in_neededis the only function that helps in DB table create but it’s not being called on the plugin activation hook.In general, if the table is missing then after deactivate/activate they should get back again. but here it’s not happening.
Another issue that I found while I was trying to convert the DB engine to InnoDB. in the backend UI it shows success, but when I debugged in the network tab in developer tools, I see the error that the table doesn’t exist.
So if there is an error it should an error in UI instead of showing it a success.
And why it’s not working on the Plesk server? any idea?
The topic ‘Table re-create doesn’t work as expected’ is closed to new replies.