[wp-trac] [WordPress Trac] #42752: Rest api - can not convert array to string notice

WordPress Trac noreply at wordpress.org
Fri Dec 22 03:15:49 UTC 2017


#42752: Rest api - can not convert array to string notice
--------------------------+-----------------------
 Reporter:  steffanhalv   |       Owner:  dd32
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  5.0
Component:  Query         |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------
Changes (by dd32):

 * status:  new => accepted
 * focuses:  rest-api =>
 * component:  REST API => Query
 * owner:   => dd32
 * milestone:  Awaiting Review => 5.0
 * keywords:  Has-commit =>


Comment:

 Your issue is that you've got a registered `query_var` which cannot be an
 array registered, while trying to also use that same query var in the rest
 api .

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


More information about the wp-trac mailing list