Skip to content

Simple form doesn't work. #7

Description

@Bieleke

If you want a simple contact form only sending an email to you contact mailbox, then you just have to add to your configuration file

ihqs_contact:
connectors:
email:
recipients: cont@ct.me

This doesn't work, produces the next error...

Whoops, looks like something went wrong.
1/1 ErrorException: Notice: Undefined index: contact in /var/www/vendor/bundles/IHQS/ContactBundle/DependencyInjection/IHQSContactExtension.php line 44

in /var/www/vendor/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php line 65
at ErrorHandler->handle() in /var/www/vendor/bundles/IHQS/ContactBundle/DependencyInjection/IHQSContactExtension.php line 44
at IHQSContactExtension->load() in /var/www/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php line 42
at MergeExtensionConfigurationPass->process() in /var/www/vendor/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/MergeExtensionConfigurationPass.php line 39
at MergeExtensionConfigurationPass->process() in /var/www/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php line 119
at Compiler->compile() in /var/www/vendor/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php line 437
at ContainerBuilder->compile() in /var/www/app/bootstrap.php.cache line 868
at Kernel->buildContainer() in /var/www/app/bootstrap.php.cache line 779
at Kernel->initializeContainer() in /var/www/app/bootstrap.php.cache line 513
at Kernel->boot() in /var/www/app/bootstrap.php.cache line 544
at Kernel->handle() in /var/www/html/app_dev.php line 33

However if i use the extended version of the config this error does not happen.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions