[wp-trac] [WordPress Trac] #56906: Media Library Grid mode no media items shown if debug true

WordPress Trac noreply at wordpress.org
Tue Oct 25 20:57:07 UTC 2022


#56906: Media Library Grid mode no media items shown if debug true
--------------------------+-----------------------------
 Reporter:  ipajen        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  6.0.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 If WP_DEBUG is set to true in wp-config then Media Library Grid mode in
 wp-admin is not showing any media items (works fine in list mode), if
 disabling debug all media is shown in grid mode.

 Note: Some deprecated warnings are shown, don't know if that is part of
 the problem that no media is shown

 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type
 string is deprecated in /public_html/wp-includes/functions.php on line
 7028

 Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type
 array|string is deprecated in /public_html/wp-includes/functions.php on
 line 2168

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


More information about the wp-trac mailing list