Deprecated: Optional parameter $idwebs declared before required parameter $idproducto is implicitly treated as a required parameter in /home/wwwpan/wwwpublic/src/Repository/Agencia/AgenciaProductoswebsRepository.php on line 25

Deprecated: Optional parameter $idwebs declared before required parameter $idproducto is implicitly treated as a required parameter in /home/wwwpan/wwwpublic/src/Repository/Agencia/AgenciaAftpRepository.php on line 25
Failed to start the session because headers have already been sent by "/home/wwwpan/wwwpublic/src/Repository/Agencia/AgenciaProductoswebsRepository.php" at line 25. (500 Internal Server Error)

Symfony Exception

RuntimeException

HTTP 500 Internal Server Error

Failed to start the session because headers have already been sent by "/home/wwwpan/wwwpublic/src/Repository/Agencia/AgenciaProductoswebsRepository.php" at line 25.

Exception

RuntimeException

in vendor/symfony/form/ResolvedFormType.php -> finishView (line 168)
    in vendor/symfony/form/ResolvedFormType.php -> finishView (line 161)
      in vendor/symfony/form/Form.php -> finishView (line 1049)
        Form->createView() in src/Controller/Frontend/StaticController.php (line 313)
          in vendor/symfony/http-kernel/HttpKernel.php -> productoDetalles (line 157)
            in vendor/autoload_runtime.php -> run (line 35)
              require_once('/home/wwwpan/wwwpublic/vendor/autoload_runtime.php') in /home/wwwpan/public_html/index.php (line 5)
              1. <?php
                
                use App\Kernel;
                
                require_once dirname(__DIR__).'/wwwpublic/vendor/autoload_runtime.php';
                
                return function (array $context) {
                    return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
                };
                

              Logs

              No log messages

              Stack Trace

              RuntimeException
              RuntimeException:
              Failed to start the session because headers have already been sent by "/home/wwwpan/wwwpublic/src/Repository/Agencia/AgenciaProductoswebsRepository.php" at line 25.
              
                at vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:152
                at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
                   (vendor/symfony/http-foundation/Session/Session.php:59)
                at Symfony\Component\HttpFoundation\Session\Session->start()
                   (vendor/symfony/security-csrf/TokenStorage/SessionTokenStorage.php:98)
                at Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage->hasToken('https-App\\Form\\Agencia\\ReservaType')
                   (vendor/symfony/security-csrf/CsrfTokenManager.php:72)
                at Symfony\Component\Security\Csrf\CsrfTokenManager->getToken('App\\Form\\Agencia\\ReservaType')
                   (vendor/symfony/form/Extension/Csrf/Type/FormTypeCsrfExtension.php:77)
                at Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension->finishView(object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'label_translation_parameters' => array(), 'attr_translation_parameters' => array(), 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'help_translation_parameters' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'error_mapping' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'block_prefix' => null, 'row_attr' => array(), 'label_html' => false, 'attr' => array(), 'priority' => 0, 'data' => array('idformtipo' => 121, 'idtipo' => 116, 'idweb' => 8, 'idproveedor' => 10, 'idpaquete' => 83), 'data_class' => null, 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'method' => 'POST', 'action' => 'https://gestor.ofertascostaazahar.com/reserva.php', 'upload_max_size_message' => object(Closure), 'help' => null, 'help_attr' => array(), 'help_html' => false, 'is_empty_callback' => null, 'getter' => null, 'setter' => null, 'form_attr' => false, 'validation_groups' => null, 'constraints' => array(), 'legacy_error_messages' => true))
                   (vendor/symfony/form/ResolvedFormType.php:168)
                at Symfony\Component\Form\ResolvedFormType->finishView(object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'label_translation_parameters' => array(), 'attr_translation_parameters' => array(), 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'help_translation_parameters' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'error_mapping' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'block_prefix' => null, 'row_attr' => array(), 'label_html' => false, 'attr' => array(), 'priority' => 0, 'data' => array('idformtipo' => 121, 'idtipo' => 116, 'idweb' => 8, 'idproveedor' => 10, 'idpaquete' => 83), 'data_class' => null, 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'method' => 'POST', 'action' => 'https://gestor.ofertascostaazahar.com/reserva.php', 'upload_max_size_message' => object(Closure), 'help' => null, 'help_attr' => array(), 'help_html' => false, 'is_empty_callback' => null, 'getter' => null, 'setter' => null, 'form_attr' => false, 'validation_groups' => null, 'constraints' => array(), 'legacy_error_messages' => true))
                   (vendor/symfony/form/ResolvedFormType.php:161)
                at Symfony\Component\Form\ResolvedFormType->finishView(object(FormView), object(Form), array('block_name' => null, 'disabled' => false, 'label' => null, 'label_format' => null, 'label_translation_parameters' => array(), 'attr_translation_parameters' => array(), 'translation_domain' => null, 'auto_initialize' => true, 'trim' => true, 'required' => true, 'property_path' => null, 'mapped' => true, 'by_reference' => true, 'inherit_data' => false, 'compound' => true, 'post_max_size_message' => 'The uploaded file was too large. Please try to upload a smaller file.', 'allow_file_upload' => false, 'help_translation_parameters' => array(), 'invalid_message' => 'This value is not valid.', 'invalid_message_parameters' => array(), 'error_mapping' => array(), 'allow_extra_fields' => false, 'extra_fields_message' => 'This form should not contain extra fields.', 'csrf_protection' => true, 'csrf_field_name' => '_token', 'csrf_message' => 'The CSRF token is invalid. Please try to resubmit the form.', 'csrf_token_manager' => object(CsrfTokenManager), 'csrf_token_id' => null, 'block_prefix' => null, 'row_attr' => array(), 'label_html' => false, 'attr' => array(), 'priority' => 0, 'data' => array('idformtipo' => 121, 'idtipo' => 116, 'idweb' => 8, 'idproveedor' => 10, 'idpaquete' => 83), 'data_class' => null, 'empty_data' => object(Closure), 'error_bubbling' => true, 'label_attr' => array(), 'method' => 'POST', 'action' => 'https://gestor.ofertascostaazahar.com/reserva.php', 'upload_max_size_message' => object(Closure), 'help' => null, 'help_attr' => array(), 'help_html' => false, 'is_empty_callback' => null, 'getter' => null, 'setter' => null, 'form_attr' => false, 'validation_groups' => null, 'constraints' => array(), 'legacy_error_messages' => true))
                   (vendor/symfony/form/Form.php:1049)
                at Symfony\Component\Form\Form->createView()
                   (src/Controller/Frontend/StaticController.php:313)
                at App\Controller\Frontend\StaticController->productoDetalles(object(Connection), object(EntityManager_9a5be93), 83, 'humor-amarillo-peniscola')
                   (vendor/symfony/http-kernel/HttpKernel.php:157)
                at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
                   (vendor/symfony/http-kernel/HttpKernel.php:79)
                at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
                   (vendor/symfony/http-kernel/Kernel.php:199)
                at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
                   (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:37)
                at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
                   (vendor/autoload_runtime.php:35)
                at require_once('/home/wwwpan/wwwpublic/vendor/autoload_runtime.php')
                   (/home/wwwpan/public_html/index.php:5)