PHP Warning: Undefined array key when rollback any theme #5762
Labels
effort: [XS]
< 1 day of estimated development time
module: cache
priority: low
Issues that can wait
severity: minor
Defect that does not affect functionality
type: bug
Indicates an unexpected problem or unintended behavior
Milestone
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
When rollback any theme while WPR is enabled, we will get the following warning
[15-Feb-2023 09:08:58 UTC] PHP Warning: Undefined array key "themes" in /var/www/new.rocketlabsqa.ovh/htdocs/wp-content/plugins/wp-rocket/inc/common/purge.php on line 563
To Reproduce
Steps to reproduce the behavior:
1. Rollback plugin is enabled
2. WPR is enabled
3. Try to rollback any theme
4. Check debug.log
Expected behavior
No warning when rollback
Additional context
Add any other context about the problem here.
Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: