zikula-modules / Formicula

A template-driven form mailer for Zikula
https://ziku.la
19 stars 7 forks source link

Formicula send form stack-trace #73

Closed MrMontesa closed 7 years ago

MrMontesa commented 7 years ago

Follow-up issue on: #72 After this was fixed, I now receive another stack trace:

[1] Symfony\Component\Debug\Exception\ContextErrorException: Notice: Undefined variable: request
    at n/a
        in /data/web/1/000/027/915/75642/htdocs/amc-idstein/modules/Formicula/Controller/UserController.php line 345

    at Symfony\Component\Debug\ErrorHandler->handleError('8', 'Undefined variable: request', '/data/web/1/000/027/915/75642/htdocs/amc-idstein/modules/Formicula/Controller/UserController.php', '345', array('contact' => object(ContactEntity), 'formId' => '0', 'userData' => array('name' => 'Seb', 'emailAddress' => 'waitz.sebastian@gmail.com', 'comment' => 'Das ist ein Test'), 'customFields' => array(), 'format' => 'html', 'mailType' => 'admin', 'mailData' => array('name' => 'Seb', 'emailAddress' => 'waitz.sebastian@gmail.com', 'comment' => 'Das ist ein Test'), 'variableApi' => object(VariableApi), 'modVars' => array('show_phone' => false, 'show_company' => false, 'show_url' => false, 'show_location' => false, 'show_comment' => true, 'send_user' => true, 'spamcheck' => false, 'excludespamcheck' => '', 'show_attachfile' => false, 'upload_dir' => 'userdata', 'delete_file' => true, 'default_form' => '0', 'store_data' => false, 'store_data_forms' => '', 'show_userformat' => false, 'default_userformat' => 'html', 'default_adminformat' => 'html', 'use_contacts_as_sender' => false, 'defaultForm' => '0', 'showCompany' => false, 'showPhone' => false, 'showUrl' => false, 'showLocation' => false, 'showComment' => true, 'showFileAttachment' => false, 'uploadDirectory' => 'userdata', 'deleteUploadedFiles' => true, 'sendConfirmationToUser' => true, 'defaultAdminFormat' => 'html', 'defaultUserFormat' => 'html', 'showUserFormat' => false, 'useContactsAsSender' => false, 'enableSpamCheck' => false, 'storeSubmissionData' => true, 'storeSubmissionDataForms' => ''), 'siteName' => 'Auto- und Motorrad-Club Idstein e.V. im ADAC', 'adminMail' => 'admin@amc-idstein.de'))
        in /data/web/1/000/027/915/75642/htdocs/amc-idstein/modules/Formicula/Controller/UserController.php line 345

    at Zikula\FormiculaModule\Controller\UserController->sendMail(object(ContactEntity), '0', array('name' => 'Seb', 'emailAddress' => 'waitz.sebastian@gmail.com', 'comment' => 'Das ist ein Test'), array(), 'html', 'admin')
        in /data/web/1/000/027/915/75642/htdocs/amc-idstein/modules/Formicula/Controller/UserController.php line 229

    at Zikula\FormiculaModule\Controller\UserController->indexAction(object(Zikula_Request_Http))
        in  line 

    at call_user_func_array(array(object(UserController), 'indexAction'), array(object(Zikula_Request_Http)))
        in /data/web/1/000/027/915/75642/htdocs/amc-idstein/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 144

    at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Zikula_Request_Http), '1')
        in /data/web/1/000/027/915/75642/htdocs/amc-idstein/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 64

    at Symfony\Component\HttpKernel\HttpKernel->handle(object(Zikula_Request_Http), '1', true)
        in /data/web/1/000/027/915/75642/htdocs/amc-idstein/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69

    at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Zikula_Request_Http), '1', true)
        in /data/web/1/000/027/915/75642/htdocs/amc-idstein/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185

    at Symfony\Component\HttpKernel\Kernel->handle(object(Zikula_Request_Http))
        in /data/web/1/000/027/915/75642/htdocs/amc-idstein/index.php line 23