Line 112 in /var/www/vhosts/steck.nl/httpdocs/vendor/silverstripe/spamprotection/code/Extension/FormSpamProtectionExtension.php
103 $title = $options['title']; 104 } else { 105 $title = ''; 106 } 107 108 // set custom mapping on this form 109 $protector = self::get_protector($options); 110 111 if ($protector === null) { 112 throw new LogicException('No spam protector has been set. Null is not valid value.'); 113 } 114 115 if ($protector && isset($options['mapping'])) { 116 $protector->setFieldMapping($options['mapping']); 117 } 118