Title: Function was called incorrectly
Last modified: September 1, 2020

---

# Function was called incorrectly

 *  Resolved [Natalya](https://wordpress.org/support/users/nalitana/)
 * (@nalitana)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/function-was-called-incorrectly/)
 * Hello! In debug mode, the following error occurs: “the rest_validate_value_from_schema
   Function was called incorrectly. The schema keyword “type” for can only be one
   of the built-in types: array, object, string, number, integer, boolean, and null.
   For more information, see the “Debugging in WordPress” page. (This message was
   added in version 5.5.0.)”. When checking “Health Check & Troubleshooting”, the
   problem appears when “Block Lab”is active. Please help solve this problem.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * (@ryankienstra)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/function-was-called-incorrectly/#post-13346467)
 * Closing as a duplicate of [https://wordpress.org/support/topic/the-rest_validate_value_from_schema-function-was-called-incorrectly/](https://wordpress.org/support/topic/the-rest_validate_value_from_schema-function-was-called-incorrectly/)

Viewing 1 replies (of 1 total)

The topic ‘Function was called incorrectly’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/block-lab_5c34e8.svg)
 * [Block Lab](https://wordpress.org/plugins/block-lab/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/block-lab/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/block-lab/)
 * [Active Topics](https://wordpress.org/support/plugin/block-lab/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/block-lab/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/block-lab/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ryan Kienstra](https://wordpress.org/support/users/ryankienstra/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/function-was-called-incorrectly/#post-13346467)
 * Status: resolved