DB not updating issue but no error reporting
-
We noticed a site that hadn’t had it’s plugins updated in 6 months. The plugin page appeared as if there were no updates, even though there should have been.
After a lot of experimenting, it turned out to be a plugin with non standard characters in it’s update string that gets added to the _site_transient_update_plugins field in the options table. As the table had a collation of utf8mb3_general_ci it wasn’t accepting the text. (it caused an error when trying to insert the text manually via phpmyadmin)
This didn’t cause any sort of noticeable error anywhere in wordpress, error_log or anywhere we could think of. The site appeared to be working as intended. Wouldn’t it be better if wordpress notified about an issue like this? It would have saved us a lot of bother and could leave some sites vulnerable without the owners knowing.
- You must be logged in to reply to this topic.