[wp-trac] [WordPress Trac] #56431: Fatal Error on Update Page When a Plugin's Icon is Not Set

WordPress Trac noreply at wordpress.org
Mon Aug 7 23:21:23 UTC 2023


#56431: Fatal Error on Update Page When a Plugin's Icon is Not Set
-------------------------------------------------+-------------------------
 Reporter:  scott.deluzio                        |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Upgrade/Install                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch needs-testing dev-       |     Focuses:
  feedback reporter-feedback                     |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * keywords:  needs-patch needs-testing php8 dev-feedback reporter-feedback
     => needs-patch needs-testing dev-feedback reporter-feedback


Comment:

 Replying to [comment:5 costdev]:
 > In testing going as far back as WordPress 5.0, I can reproduce the Fatal
 Error on both PHP 7.4 and PHP 8.0 if I add this to `wp-admin/update.php`
 before the end of the `foreach` loop in `get_plugin_updates()`:

 I've removed `php8` keyword, as @costdev was able to show a fatal error
 scenario that happens on PHP version(s) older than PHP 8. It seems the
 reported issue is not strictly bound to only PHP 8.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56431#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list