Title: Warning during WP-CLI
Last modified: August 26, 2019

---

# Warning during WP-CLI

 *  [Timothy Jacobs](https://wordpress.org/support/users/timothyblynjacobs/)
 * (@timothyblynjacobs)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/warning-during-wp-cli/)
 * When running a WP-CLI command, I get the following warning.
 * `Warning: call_user_func() expects parameter 1 to be a valid callback, class '
   ClientDash_REST_Customizations_Controller' does not have a method 'get_item_schema'
   in /sites/amburrito/wp-includes/rest-api/class-wp-rest-server.php on line 1170`

Viewing 1 replies (of 1 total)

 *  Plugin Author [d4mation](https://wordpress.org/support/users/d4mation/)
 * (@d4mation)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/warning-during-wp-cli/#post-11868664)
 * [@timothyblynjacobs](https://wordpress.org/support/users/timothyblynjacobs/)
 * Thank you for pointing this out! I’m going to log this to be fixed for our next
   release.
 * In the meantime, if you comment out `'schema' => array( $this, 'get_item_schema'),`
   in `/core/api/class-clientdash-rest-customizations-controller.php` at line 71
   that should remedy this. It seems that at some point including a Schema was planned,
   but was never completed. I’m going to look into adding the Schema.

Viewing 1 replies (of 1 total)

The topic ‘Warning during WP-CLI’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/client-dash.svg)
 * [Client Dash](https://wordpress.org/plugins/client-dash/)
 * [Support Threads](https://wordpress.org/support/plugin/client-dash/)
 * [Active Topics](https://wordpress.org/support/plugin/client-dash/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/client-dash/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/client-dash/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [d4mation](https://wordpress.org/support/users/d4mation/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/warning-during-wp-cli/#post-11868664)
 * Status: not resolved