FSE: PHP warning from lib/templates.php #27172
Labels
Needs Testing
Needs further testing to be confirmed.
[Status] In Progress
Tracking issues with work in progress
Describe the bug
With the current master (55bf177),
I am seeing the following PHP warning in the admin area under Appearance, Templates, in the Theme column:
Warning: Invalid argument supplied for foreach() in /var/www/html/wp-content/plugins/gutenberg-git/lib/templates.php on line 247
See 974906b#diff-70c8debe9dcb475ca0a1d26dc8078c0e816e0a5d783488280b5aa5aff956b5abR247
To reproduce
Steps to reproduce the behavior:
You may need to test it on an install that had templates created/saved before the change with the theme column was made.
Expected behavior
There should not be a PHP warning
Editor version (please complete the following information):
Desktop (please complete the following information):
PHP version 7.4.11
The text was updated successfully, but these errors were encountered: