[wp-trac] [WordPress Trac] #56996: Getting error Uncaught exception 'TypeError' with message 'Cannot access offset of type string on string' in /var/www/wp-includes/media.php:2147

WordPress Trac noreply at wordpress.org
Fri Nov 4 12:06:12 UTC 2022


#56996: Getting error Uncaught exception 'TypeError' with message 'Cannot access
offset of type string on string' in /var/www/wp-includes/media.php:2147
--------------------------+------------------------------
 Reporter:  umesh.nevase  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.1
 Severity:  blocker       |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by umesh.nevase):

 The issue is coming if [caption] shortcode doesn't have any attributes.
 The issue is not with 2nd offset.

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


More information about the wp-trac mailing list