Closed michelep closed 1 year ago
@michelep: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
Transferring over to wordpress plugin repository
Can you find this setting within the plugin configuration
Make sure the captcha flow cache is above 0 you can revert it back to the default value
Hi @michelep,
For some reason, it seems that the value of crowdsec_captcha_cache_duration
is empty (maybe 0, maybe empty string) in your database (wp_options
table).
As suggested by @LaurenceJJones, if you save the "Captcha flow cache lifetime" parameter again, it should set a non-empty value and make this bug disappear.
In order to avoid such bug for other users, I just released a 2.0.4 version of the plugin with a fix for it (if we detect an empty value, we replace it with a default value).
Please let me know if it works with this new version.
Thanks
Closing, happy to continue the conversation here or elsewhere.
What happened?
E_ERROR on line 52 file /wp-content/plugins/crowdsec/vendor/symfony/config/Definition/NumericNode.php. Messaggio di errore: Uncaught Symfony\Component\Config\Definition\Exception\InvalidConfigurationException: The value 0 is too small for path "config.captcha_cache_duration". Should be greater than or equal to 1 in /wp-content/plugins/crowdsec/vendor/symfony/config/Definition/NumericNode.php:52 Stack trace:
0 /wp-content/plugins/crowdsec/vendor/symfony/config/Definition/BaseNode.php(455): Symfony\Component\Config\Definition\NumericNode->finalizeValue()
crowdsecurity/crowdsec#1 /wp-content/plugins/crowdsec/vendor/symfony/config/Definition/ArrayNode.php(245): Symfony\Component\Config\Definition\BaseNode->finalize() crowdsecurity/crowdsec#2 /wp-content/plugins/crowdsec/vendor/symfony/config/Definition/BaseNode.php(455): Symfony\Component\Config\Definition\ArrayNode->finalizeValue() crowdsecurity/crowdsec#3 /wp-content/plugins/crowdsec/vendor/symfony/config/Definition/Processor.php(36): Symfony\Component\Config\Definition\BaseNode->finalize()
Hope this could help!
What did you expect to happen?
Works flawlessy ;-)
How can we reproduce it (as minimally and precisely as possible)?
I don't know
Anything else we need to know?
No response
Crowdsec version
OS version
Enabled collections and parsers
Acquisition config
Config show
Prometheus metrics
Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.