Skip to content

Conversation

schlessera
Copy link
Member

Reports from Cloudways indicate that there is an intermittent issue with the WP_Upgrader_Skin class.

PHP Fatal error:  Uncaught Error: Class 'WP_Upgrader_Skin' not found in phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php:13

I have yet not been able to replicate the issue, but this PR already adds hardening around that code section which potentially avoids fatal errors.

@schlessera schlessera requested a review from a team as a code owner May 31, 2023 11:45
@schlessera schlessera added the bug label May 31, 2023
@schlessera schlessera added this to the 2.8.0 milestone May 31, 2023
@schlessera schlessera merged commit 5198985 into main May 31, 2023
@schlessera schlessera deleted the fix/harden-loading-of-upgrader branch May 31, 2023 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant