[wp-trac] [WordPress Trac] #59554: PHP 8.1: Community-Events on Dashboard producing deprecated warnings

WordPress Trac noreply at wordpress.org
Fri Oct 6 00:19:09 UTC 2023


#59554: PHP 8.1: Community-Events on Dashboard producing deprecated warnings
--------------------------+-------------------------------
 Reporter:  treibstoff    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.3.1
 Severity:  major         |   Keywords:  php81 needs-patch
  Focuses:                |
--------------------------+-------------------------------
 With PHP 8.1 and WP 6.3.1
 If the commmunity-events on dashbord is on, it will produce lots of
 warnings:

 {{{
 Deprecated: html_entity_decode(): Passing null to parameter #1 ($string)
 of type string is deprecated in wp-includes/widgets.php on line 1626
 }}}
 if I delete the View of Community-Events from the Dashboard & delete the
 related transient the message is gone.

 The related Transient:
 _site_transient_community-events-3383c416d96e7e74e08084a6fca31eaf

 It caused also an unserelize PHP Error in query monitor.

 belonging to this is also Transient:
 _transient_feed_f014c832422b67a4cec692b17aa40756

 This happens meanwhile on 4 totally different wordpress installations and
 hoster.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59554>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list