Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#40163 closed defect (bug)

PHP 7 bug in nav-menu.php — at Initial Version

Reported by: lucaspw Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:



In PHP 7 is bug in nav menus and wordpress respond error:

<b>Notice</b>: Array to string conversion in <b>/Applications/MAMP/htdocs/enginzyme/wp-includes/nav-menu.php</b> on line <b>604</b><br />

This can be fast fix, you must replace this line:

  1. $items[$k]->$argsoutput_key? = $i++;


$items[$k]->{$argsoutput_key?} = $i++;

Change History (0)

Note: See TracTickets for help on using tickets.