[wp-trac] [WordPress Trac] #42875: /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php on line 328
WordPress Trac
noreply at wordpress.org
Tue Dec 12 04:02:22 UTC 2017
#42875: /var/www/html/wp-includes/rest-api/endpoints/class-wp-rest-settings-
controller.php on line 328
--------------------------+-----------------------------
Reporter: perrywagle | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.9.1
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Getting the error:
Undefined index: items in /var/www/html/wp-includes/rest-api/endpoints
/class-wp-rest-settings-controller.php on line 328
The context of that line is that the variable is determined to be an
'array', but then gets indexed by the string 'items', which is not in the
apparently associative array of associative array (?).
Apparently, some people trigger this, and some don't.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42875>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list