[wp-trac] [WordPress Trac] #59206: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in Stack trace:\n#0 [internal function]: img_caption_shortcode()

WordPress Trac noreply at wordpress.org
Fri Aug 25 17:09:09 UTC 2023


#59206: PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on
string in Stack trace:\n#0 [internal function]: img_caption_shortcode()
--------------------------+--------------------------------
 Reporter:  maltfield     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  6.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  php-compatibility
--------------------------+--------------------------------

Comment (by maltfield):

 > According to the official wordpress documentation on the caption
 shortcode, the id option is not required (ie the option is, uh, optional).

 Looks like I can't edit the OP, so here's a link to the official wordpress
 docs on `[caption]`

  * https://core.trac.wordpress.org/ticket/59206#ticket

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


More information about the wp-trac mailing list