[wp-meta] [Making WordPress.org] #3653: Fix fatal error in wporg-developer theme

Making WordPress.org noreply at wordpress.org
Sat Jun 2 12:17:50 UTC 2018


#3653: Fix fatal error in wporg-developer theme
---------------------------+-----------------------
 Reporter:  keesiemeijer   |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:
Component:  Developer Hub  |   Keywords:  has-patch
---------------------------+-----------------------
 With PHP 7.2.5 I get this error:
 {{{
 Fatal error: Uncaught Error: Cannot use string offset as an array in
 /srv/www/wp-reference/public/wp-content/themes/wporg-developer/inc
 /template-tags.php:786
 }}}

 This is because a string variable is used as an array. The following patch
 will instantiate the variable as an array.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3653>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list