Problem/Motivation
I have recently updated to v8.x-1.7
and I am noticing an odd error report when attempting to make any changes at all to existing Pop Field Groups
Whenever I try to make any kind of alteration (including none at all!) to Popup Field Group by hitting the Update button...
I see the following error message...
TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "field_group_validate_css_class" not found or invalid function name in call_user_func_array()
(line 282 of <site>\core\lib\Drupal\Core\Form\FormValidator.php)
#0 <site>\core\lib\Drupal\Core\Form\FormValidator.php(282): call_user_func_array('field_group_val...', Array)
#1 <site>\core\lib\Drupal\Core\Form\FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState))
#2 <site>\core\lib\Drupal\Core\Form\FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState))
#3 <site>\core\lib\Drupal\Core\Form\FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState))
#4 <site>\core\lib\Drupal\Core\Form\FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState))
#5 <site>\core\lib\Drupal\Core\Form\FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState))
#6 <site>\core\lib\Drupal\Core\Form\FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState))
#7 <site>\core\lib\Drupal\Core\Form\FormValidator.php(238): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState))
#8 <site>\core\lib\Drupal\Core\Form\FormValidator.php(118): Drupal\Core\Form\FormValidator->doValidateForm(Array, Object(Drupal\Core\Form\FormState), 'entity_view_dis...')
#9 <site>\core\lib\Drupal\Core\Form\FormBuilder.php(588): Drupal\Core\Form\FormValidator->validateForm('entity_view_dis...', Array, Object(Drupal\Core\Form\FormState))
#10 <site>\core\lib\Drupal\Core\Form\FormBuilder.php(320): Drupal\Core\Form\FormBuilder->processForm('entity_view_dis...', Array, Object(Drupal\Core\Form\FormState))
#11 <site>\core\lib\Drupal\Core\Controller\FormController.php(73): Drupal\Core\Form\FormBuilder-
...
#30 {main}
I'm not sure from the error message that we can specifically pinpoint the Field Group Popup as the source of error but what and not other types of Field Group so I'm pretty certain that it is being triggered by the module. HOWEVER, I have also just updated Drupal to 9.4.9
and so that might well be connected too.
For completeness, here is my specific set up...
Drupal Version 9.4.9
Web server: Apache/2.4.33 (Win64) OpenSSL/1.0.2u mod_fcgid/2.3.9
Database: MySQL 5.7.24
PHP: 8.1.0
Front end theme - a custom subtheme Bootstrap 3
Plenty of modules using JQuery! (Views Bootstrap for example)
Would appreciate any help and adivce here since I can no longer make any adjustments to any Popup Field Groups :-(
Thanks all