linawolf / form_double_opt_in

TYPO3 Extension adding Double Opt-In to the TYPO3 CMS Form Framework
12 stars 18 forks source link

Error after sending form #26

Closed nannione closed 1 year ago

nannione commented 1 year ago

Hello,

with TYPO3 and form both version 10.4.36 and form_double_opt_in 3.0.0 i get following error:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: Too few arguments to function TYPO3\CMS\Form\Domain\Finishers\EmailFinisher::getRecipients(), 1 passed in /usr/../typo3conf/ext/form_double_opt_in/Classes/Domain/Finishers/DoubleOptInFormFinisher.php on line 162 and at least 2 expected | ArgumentCountError thrown in file /usr/../typo3/sysext/form/Classes/Domain/Finishers/EmailFinisher.php in line 335. Requested URL: https:/xxxxxx.de/testform?tx_form_formframework%%5Baction%%5D=perform&tx_form_formframework%%5Bcontroller%%5D=FormFrontend&cHash=7c922fc6ac81df12c8d566a25661a865

medarob commented 1 year ago

Mh, I just ran into the same problem in TYPO3 10.4.36 grafik

I updated from v2.1.1 to 3.0 and changed the custom constants settings. 🤔

Maybe it has something to do with this commit: https://github.com/medienreaktor/form_double_opt_in/pull/23/commits/bb28880e934cdad9bb316cc61119cefbd808eae2 ? @linawolf

my constants

plugin.tx_formdoubleoptin_doubleoptin {
  persistence {
    storagePid = 1785
  }
  settings {
    notificationMailEnable = 1
    notificationMailSubject = Awesome Subject
    notificationMailReceiverMail = working@email.de
    notificationMailReceiverName = Name
    #notificationMailSenderMail = {$plugin.tx_formdoubleoptin_doubleoptin.settings.notificationMailSenderMail}
    #notificationMailSenderName = {$plugin.tx_formdoubleoptin_doubleoptin.settings.notificationMailSenderName}
  }
}
linawolf commented 1 year ago

AS TYPO3 v10.4 is not supported anymore I will not work on this topic anymore. Sorry about this