Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
visit page:/admin/config/people/captcha/image_captcha, got following errors:
Drupal\Core\Config\UnsupportedDataTypeConfigException: Invalid data type for config element image_captcha.settings:image_captcha_fonts_preview_map_cache.3438abc85ac58eaab01cd741b1c3f9bb5dd3b9be3c079b1a7851884135608b2f in Drupal\Core\Config\StorableConfigBase->validateValue
remove following code fixed:
// Font related stuff.
//$form['image_captcha_font_settings'] = $this->settingsDotSection();
Comments
Comment #2
AnybodyRelated issue:
#2501699: Fix Image CAPTCHA settings form
Comment #3
solerous CreditAttribution: solerous commentedI tried this fix and it will load the settings now, but the font section is missing. Also, when I try to save any settings it throws and error:
I'm using Drupal 8.6.7 and PHP 7.2.8