Possible bug in error logging v5.9.2 WP_Upgrader::create_lock
-
I had a message saying my site had exceeded disk quota. On investigation, my PHP error log was 10GB, the content was entries like the following, repeated thousands of times:
[22-Mar-2022 10:47:35 UTC] WordPress database error DELETE command denied to user ‘user’@’localhost’ for table ‘wp_options’ for query DELETE FROM
wp_options
WHEREoption_name
= ‘auto_updater.lock’ made by do_action_ref_array(‘wordfence_daily_cron’), WP_Hook->do_action, WP_Hook->apply_filters, wordfence::dailyCron, wordfence::_refreshUpdateNotification, wfActivityReport->getUpdatesNeeded, wfUpdateCheck->checkAllUpdates, wfUpdateCheck->checkCoreUpdates, wp_version_check, do_action(‘wp_maybe_auto_update’), WP_Hook->do_action, WP_Hook->apply_filters, wp_maybe_auto_update, WP_Automatic_Updater->run, WP_Upgrader::create_lock, WP_Upgrader::create_lock, WP_Upgrader::create_lock, WP_Upgrader::create_lock, WP_Upgrader::create_lock, WP_Upgrader::create_lock, WP_Upgrader::create_lock, WP_Upgrader::create_lock, WP_Upgrader::create_lock, WP_Upgrader::create_lock,etc….
I checked the DB privileges for the user and sure enough, the DELETE permission had been revoked (now fixed), but my question is, why the cascade of error messages – seems like a bug to me.
- The topic ‘Possible bug in error logging v5.9.2 WP_Upgrader::create_lock’ is closed to new replies.