[wp-trac] [WordPress Trac] #61842: Uncaught TypeError in /wp-json/wp/v2/menu-items REST API POST operation

WordPress Trac noreply at wordpress.org
Wed Aug 14 19:01:57 UTC 2024


#61842: Uncaught TypeError in /wp-json/wp/v2/menu-items REST API POST operation
-------------------------------------------------+-------------------------
 Reporter:  mlf20                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  REST API                             |     Version:  6.2.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests reporter-   |     Focuses:  rest-api
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by antonvlasenko):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests reporter-
     feedback


Comment:

 == Reproduction Report

 === Environment
 - WordPress: 6.7-alpha-58576-src
 - PHP: 7.3.33
 - Server: Apache/2.4.57 (Unix) PHP/7.3.33
 - Database: mysqli (Server: 5.7.43 / Client: mysqlnd 5.0.12-dev)
 - Browser: Safari 17.6 (macOS)
 - Theme: Twenty Twenty-Four 1.2
 - MU-Plugins: None activated
 - Plugins:
   * JSON Basic Authentication 0.1

 === Actual Results
 - ❌ Issue cannot be reproduced.

 === Additional Notes
 I get proper HTTP 400 response code and no fatal errors/warnings in
 `debug.log`.

 === Supplemental Artifacts
 [[Image(https://cldup.com/73Z_wKpHCS.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61842#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list