maikschneider / bw_captcha

TYPO3 extension that adds a captcha element with audio support for the TYPO3 form component. The captcha generation uses Gregwar/Captcha, no Google or 3rd party includes.
6 stars 6 forks source link

PHP 8: undefined array key 'tx_bwcatpcha' in Hooks/FormElementCaptchaHook.php #24

Closed sypets closed 1 year ago

sypets commented 1 year ago

PHP Warning: Undefined array key "tx_bwcaptcha" in /var/www/site-uol11/htdocs/typo3conf/ext/bw_captcha/Classes/Hooks/FormElementCaptchaHook.php line 29

Reproduce

  1. Install bw_captcah
  2. Create a new form
  3. Add the captcha field

The exception occurs.

Code

29: $settings = $typoScript['plugin']['tx_bwcaptcha']['settings'];

Versions

sypets commented 1 year ago

sorry, my bad. I forgot the static include. Is non-error (am so used to 8.1 bugs).