[wp-trac] [WordPress Trac] #55777: Undefined index: type in /wp-includes/rest-api.php

WordPress Trac noreply at wordpress.org
Sat May 21 00:26:53 UTC 2022


#55777: Undefined index: type in /wp-includes/rest-api.php
-------------------------------+------------------------------
 Reporter:  Mte90              |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  REST API           |     Version:  5.9.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  rest-api
-------------------------------+------------------------------
Changes (by costdev):

 * keywords:   => reporter-feedback


Comment:

 Hi @Mte90, I've just started looking into this.

 Can you confirm whether you have another `_doing_it_wrong()` like this one
 about the index being required?

 {{{
 La parola chiave dello schema "tipo" per stockStatus รจ obbligatoria.
 }}}

 This fires if `! isset( $args['type'] )`, so I believe it should also be
 there in your logs.

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


More information about the wp-trac mailing list