TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "element_validate_integer_positive" not found or invalid function name in call_user_func_array() (line 282 of /var/www/docroot/core/lib/Drupal/Core/Form/FormValidator.php).

call_user_func_array('element_validate_integer_positive', Array) (Line: 282)
Drupal\Core\Form\FormValidator->doValidateForm(Array, Object) (Line: 238)
Drupal\Core\Form\FormValidator->doValidateForm(Array, Object) (Line: 238)
Drupal\Core\Form\FormValidator->doValidateForm(Array, Object) (Line: 238)
Drupal\Core\Form\FormValidator->doValidateForm(Array, Object, 'search_api_index_processors_form') (Line: 118)
Drupal\Core\Form\FormValidator->validateForm('search_api_index_processors_form', Array, Object) (Line: 589)
Drupal\Core\Form\FormBuilder->processForm('search_api_index_processors_form', Array, Object) (Line: 321)

Comments

sreenivasparuchuri created an issue. See original summary.

sreenivasparuchuri’s picture

gooddenis’s picture

Thanks, works for me

efrainh’s picture

I could reproduce this bug on Drupal 9.4.3 and PHP 8. Thanks for the patch on #2, it works.