Closed piotrbak closed 3 years ago
I followed the steps and the error didn't show or appear in the log file I think they fixed it in WP core please check this https://github.com/WordPress/gutenberg/issues/32624
Indeed, these are probably related issues. That said, #567 seems to be happening on WP versions prior to 5.8. Adding the guard to check that current_screen()
is indeed loaded may still be in order to prevent a fatal error in any case. See #582.
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug We have a fatal error when trying to edit legacy widgets when Imagify and Yoast are enabled.
To Reproduce Steps to reproduce the behavior:
Expected behavior No fatal errors
Screenshots
Additional context Full fatal error:
I believe that WordPress shouldn't display errors there anyway, so here's the Github issue on Gutenberg repo: https://github.com/WordPress/gutenberg/issues/32624
Backlog Grooming (for WP Media dev team use only)