WordPress.org

Make WordPress Core

Opened 10 months ago

Last modified 7 weeks ago

#51986 new defect (bug)

PHP Warning: array_intersect_key(): Expected parameter 1 to be an array, string given in class-wp-rest-server.php — at Initial Version

Reported by: slaFFik Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 5.6
Component: Editor Keywords: php8 has-patch needs-unit-tests
Focuses: rest-api Cc:

Description

When editing a page in the Gutenberg editor (that is built-in, not the plugin), I see this Warning on a page:
`
<b>Warning</b>: array_intersect_key(): Expected parameter 1 to be an array, string given in <b>/home/cosydale/public_html/ovirium.com/wp-includes/rest-api/class-wp-rest-server.php</b> on line <b>1402</b><br />
`

Disable REST plugin is not installed.

Change History (0)

Note: See TracTickets for help on using tickets.