Code:
TypeError:Argument 2 passed to Contao\CoreBundle\OptIn\OptIn::create() must be of the type string, null given, called in /www/htdocs/domain.tld/vendor/terminal42/notification_center/library/NotificationCenter/ContaoHelper.php on line 42
at vendor/contao/core-bundle/src/OptIn/OptIn.php:34
at Contao\CoreBundle\OptIn\OptIn->create('reg-', null, array('tl_member' => array('19')))
(vendor/terminal42/notification_center/library/NotificationCenter/ContaoHelper.php:42)
at NotificationCenter\ContaoHelper->sendRegistrationEmail('19', array('nameverein' => 'kklklök', 'foundingyear' => 'ölkölkl', 'citydescription' => 'ölkölk', 'website' => '', 'videolink' => '', 'username' => 'heidi', 'password' => '$argon2id$v=19$m=65536,t=4,p=1$spc8RYah9hY8oMto6YDhyA$OTOPYM2n8tgKRk3BzPP9QlT9IQ4xbg4o62Y2bJda7iY', 'tstamp' => 1607413479, 'login' => '1', 'dateAdded' => 1607413479, 'groups' => 'a:1:{i:0;s:1:"1";}', 'disable' => 1, 'id' => '19'), object(ModuleRegistration))
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleRegistration.php:440)
at Contao\ModuleRegistration->createNewUser(array('nameverein' => 'kklklök', 'foundingyear' => 'ölkölkl', 'citydescription' => 'ölkölk', 'website' => '', 'videolink' => '', 'username' => 'heidi', 'password' => '$argon2id$v=19$m=65536,t=4,p=1$spc8RYah9hY8oMto6YDhyA$OTOPYM2n8tgKRk3BzPP9QlT9IQ4xbg4o62Y2bJda7iY', 'tstamp' => 1607413479, 'login' => '1', 'dateAdded' => 1607413479, 'groups' => 'a:1:{i:0;s:1:"1";}', 'disable' => 1, 'id' => '19'))
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleRegistration.php:339)
at Contao\ModuleRegistration->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:215)
at Contao\Module->generate()
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleRegistration.php:60)
at Contao\ModuleRegistration->generate()
(vendor/contao/core-bundle/src/Resources/contao/elements/ContentModule.php:77)
at Contao\ContentModule->generate()
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:557)
at Contao\Controller::getContentElement(object(ContentModel), 'main')
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:198)
at Contao\ModuleArticle->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:215)
at Contao\Module->generate()
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:74)
at Contao\ModuleArticle->generate(false)
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:497)
at Contao\Controller::getArticle(object(ArticleModel), false, false, 'main')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:360)
at Contao\Controller::getFrontendModule('0', 'main')
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:168)
at Contao\PageRegular->prepare(object(PageModel))
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:48)
at Contao\PageRegular->getResponse(object(PageModel), true)
(vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:343)
at Contao\FrontendIndex->renderPage(object(PageModel))
(vendor/symfony/http-kernel/HttpKernel.php:158)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/index.php:31)
So des Rätsels Lösung:
Lesezeichen