Make WordPress Core

Opened 2 years ago

Last modified 8 months ago

#51986 closed 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's profile slaFFik Owned by:
Milestone: 6.1 Priority: normal
Severity: normal Version: 5.6
Component: Editor Keywords: php8 has-patch has-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.