update-core.php database goes away
-
I have noticed that sometimes when I update plugins using update-core.php, the plugins get updated correctly, but php errors are displayed at the end, similar to:
MySQL server has gone away in /blahblah/wp-includes/wp-db.php on line 1868, referer: https://www.3cs.ch/wp-admin/update-core.php?action=do-plugin-upgrade
These errors are displayed in a sporadic, but not infrequent, way. They are clearly not related to specific plugins.
However, if I update plugins using plugins.php (that is, clicking on “update now” for the relevant plugin), I never see those database errors.
I conclude that there is probably some code either in or being called by wp-db.php or update-core.php that does not get called by plugins.php that is either buggy or not well optimized.
I don’t think this is uniquely an issue with the tuning of parameters on my platform. Changing packet size, allocating more memory and extending timeouts have no effect on the problem.
Has anyone else observed this?
- The topic ‘update-core.php database goes away’ is closed to new replies.