[wp-trac] [WordPress Trac] #59052: Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in wp-includes/widgets.php on line 1626

WordPress Trac noreply at wordpress.org
Thu Aug 10 15:55:11 UTC 2023


#59052: Deprecated:  html_entity_decode(): Passing null to parameter #1 ($string)
of type string is deprecated in wp-includes/widgets.php on line 1626
--------------------------+-----------------------------
 Reporter:  treibstoff    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Since the change to PHP 8.1 (from 8, WP 6.3 is now running, I get once a
 day, only while opening the dashboard this Warnings (repeating twice):


 {{{
 "PHP Deprecated:  html_entity_decode(): Passing null to parameter #1
 ($string) of type string is deprecated in /homepages/xxx/wp-
 includes/widgets.php on line 1626"
 }}}


 Only once day I'm logged in. After reloading or new login on the same day,
 the Warning doesn't show up.
 This happens on three different Installations.
 On one Installation I deactivated all Plugins and changed the theme to
 fresh Twenty Twenty Two.

 But still once a day the warning just after first login.

 The Cron-Jobs running, are only from WP, see below.

 Searched Google about this warning, I got no result about this warning in
 releation with "html_entity_decode()" & "wp-includes/widgets.php on line
 1626"

 So, I'm not sure this is a known bug in WP Core onto PHP 8.1

 Any suggestion would be welcome.


 the Cron-Jobs running
 "wp_privacy_delete_old_export_files,wp_privacy_delete_old_export_files(),""once
 every hour""
 "recovery_mode_clean_expired_keys,WP_Recovery_Mode->clean_expired_keys(),""once
 a day""
 "wp_https_detection,wp_update_https_detection_errors(),""twice a day""
 "wp_version_check,wp_version_check(),""twice a day""
 "wp_update_plugins,wp_update_plugins(),""twice a day""
 "wp_update_themes,wp_update_themes(),""twice a day""
 "wp_scheduled_delete,wp_scheduled_delete(),""once a day""
 "delete_expired_transients,delete_expired_transients(),""once a day""
 "wp_scheduled_auto_draft_delete,wp_delete_auto_drafts(),""once a day""
 "wp_update_user_counts,wp_schedule_update_user_counts(),""twice a day""
 "wp_site_health_scheduled_check,WP_Site_Health->wp_cron_scheduled_check(),""once
 weekly""
 "wp_delete_temp_updater_backups,2023-08-16 16:33:02 6 Tage,
 wp_delete_all_temp_backups(),""once weekly""
 publish_future_post,[7],2040-09-03 03:02:56 17 Jahre,
 check_and_publish_future_post(),one-shot,0

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


More information about the wp-trac mailing list