DB version mismatch
-
Hi,
I have recently been trying out defender and it seems pretty good.
However, I have noticed a mismatch that seems to be causing it to update the DB a lot, maybe on every page load.In main-activator.php:20 it checks the db version to see if it is < 2.2.1
In wp-defender.php:68 it sets the db_version constant to be 2.1.1This means that the current DB version for the plugin gets set to 2.1.1, but it updates if it is less than 2.2.1, which it always is, no matter how often it updates the DB.
This caused a significant problem for me as the update statements generated are quite large (several hundred kbs) and are logged in the DB log. To be generated on every pageview quickly multiplies this to create many GBs worth of DB logs overnight!
It seems like it is a simple fix to determine which DB version is correct and change.
If there is somewhere else to log such a bug report, please let me know 🙂
The topic ‘DB version mismatch’ is closed to new replies.