Hello,
I am experiencing an issue with NoSpam plugin, that offers great Spam protection.
After enabling in mes_options.php the form, e.g. a contact from:
$GLOBALS['formulaires_no_spam'][] = 'contact';
The form is adding the « give_me_your_email » hidden field, but apparently there is an issue with the jeton creation / validation:
10.0.0.1:36324 [500]: POST /spip.php?var_mode=recalcul - Uncaught TypeError: hash_equals(): Argument #1 ($known_string) must be of type string, null given in /var/www/master/ecrire/inc/securiser_action.php:334
Stack trace:
#0 /var/www/master/ecrire/inc/securiser_action.php(334): hash_equals()
#1 /var/www/master/plugins/auto/nospam/v3.0.0/inc/nospam.php(128): verifier_cle_action()
#2 /var/www/master/plugins/auto/nospam/v3.0.0/nospam_pipelines.php(182): nospam_verifier_jeton()
#3 /var/www/master/ecrire/inc/utils.php(236): nospam_formulaire_verifier()
#4 /var/www/master/tmp/cache/charger_pipelines.php(540): minipipe()
#5 /var/www/master/ecrire/inc/utils.php(303): execute_pipeline_formulaire_verifier()
#6 /var/www/master/ecrire/public/aiguiller.php(251): pipeline()
#7 /var/www/master/ecrire/public.php(104): traiter_formulaires_dynamiques()
#8 /var/www/master/spip.php(20): include(‹ … ›)
#9 {main}
thrown in /var/www/master/ecrire/inc/securiser_action.php on line 334
Could this be a compatibility issue between SPIP core and the plugin? I am on SPIP vSPIP 4.3.6.
I don’t see anything unusual about the form, the CTV functions are prolery added.
Kind regards,
Urs