backdrop-contrib / search_api

Provides a generic API for modules offering search capabilities
GNU General Public License v2.0
0 stars 5 forks source link

Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '_element_validate_integer' not found #44

Closed argiepiano closed 1 year ago

argiepiano commented 1 year ago

The form element "Cron batch size" located at admin/config/search/search_api/index/default_node_index/edit has a validation callback _element_validate_integer. This function doesn't exist in Backdrop. Its D7 version was deprecated.

Instead, this form element should use `#type' => 'number' which can automatically validates for integer. See this record change.

argiepiano commented 1 year ago

Already addressed in #33