error 500 prestasho...
Avisos
Vaciar todo

error 500 prestashop  

 
Angel
 Angel
Usuario activo

al intentar entrar en facturas, del backoffice me da error 500, pongo debug y me sale el siguiente mensaje

Symfony Exception
Symfony Docs
Symfony Support
UnexpectedTypeException
HTTP 500 Internal Server Error
Expected argument of type "object, array or empty", "string" given

Exception Logs 2 Stack Trace

SymfonyComponentFormException UnexpectedTypeException
in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php (line 41)
PropertyPathMapper->mapDataToForms('', object(RecursiveIteratorIterator)) in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php (line 379)
Form->setData('') in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php (line 49)
PropertyPathMapper->mapDataToForms(array('enable_invoices' => true, 'enable_tax_breakdown' => false, 'enable_product_images' => true, 'invoice_prefix' => array('#FA'), 'add_current_year' => true, 'reset_number_annually' => true, 'year_position' => 0, 'invoice_number' => 0, 'legal_free_text' => '', 'footer_text' => array('ANHELSPORT EVENTS S.L. NIF B553011428'), 'invoice_model' => 'invoice-b2b', 'use_disk_cache' => false), object(RecursiveIteratorIterator)) in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php (line 379)
Form->setData(array('enable_invoices' => true, 'enable_tax_breakdown' => false, 'enable_product_images' => true, 'invoice_prefix' => array('#FA'), 'add_current_year' => true, 'reset_number_annually' => true, 'year_position' => 0, 'invoice_number' => 0, 'legal_free_text' => '', 'footer_text' => array('ANHELSPORT EVENTS S.L. NIF B553011428'), 'invoice_model' => 'invoice-b2b', 'use_disk_cache' => false)) in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php (line 49)
PropertyPathMapper->mapDataToForms(array('invoice_options' => array('enable_invoices' => true, 'enable_tax_breakdown' => false, 'enable_product_images' => true, 'invoice_prefix' => array('#FA'), 'add_current_year' => true, 'reset_number_annually' => true, 'year_position' => 0, 'invoice_number' => 0, 'legal_free_text' => '', 'footer_text' => array('ANHELSPORT EVENTS S.L. NIF B553011428'), 'invoice_model' => 'invoice-b2b', 'use_disk_cache' => false)), object(RecursiveIteratorIterator)) in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php (line 379)
Form->setData(array('invoice_options' => array('enable_invoices' => true, 'enable_tax_breakdown' => false, 'enable_product_images' => true, 'invoice_prefix' => array('#FA'), 'add_current_year' => true, 'reset_number_annually' => true, 'year_position' => 0, 'invoice_number' => 0, 'legal_free_text' => '', 'footer_text' => array('ANHELSPORT EVENTS S.L. NIF B553011428'), 'invoice_model' => 'invoice-b2b', 'use_disk_cache' => false))) in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php (line 483)
Form->initialize() in vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php (line 226)
FormBuilder->getForm() in src/Core/Form/FormHandler.php (line 114)

[
'form_builder' => &$this->formBuilder,
]
);
return $this->formBuilder->getForm();
}
/**
* {@inheritdoc}
*

FormHandler->getForm() in src/PrestaShopBundle/Controller/Admin/Sell/Order/InvoicesController.php (line 57)
InvoicesController->indexAction(object(Request)) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)
HttpKernel->handleRaw(object(Request), 1) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)
HttpKernel->handle(object(Request), 1, false) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
Kernel->handle(object(Request), 1, false) in x5jj4ay58nzx411l/index.php (line 88)

si entro en facturas por abono funciona, y si voy pedido a pedido y saco las facturas tambien, solo la pagina "facturas" no abre

Citar
Respondido : 28/01/2019 10:28 am
Pepe
 Pepe
Soporte CMS Webempresa Admin

Hola Angel.

Revisando tu cuenta veo el siguinete error:

[28-Jan-2019 10:33:35 Europe/Madrid] PHP Notice: Trying to get property of non-object in /home2/hudsongl/public_html/hudsonglasses.com/modules/seoperformance/seoperformance.php on line 627
[28-Jan-2019 10:33:35 Europe/Madrid] PHP Notice: Undefined property: PageNotFoundController::$controller_name in /home2/hudsongl/public_html/hudsonglasses.com/modules/seoperformance/seoperformance.php on line 627

Este error hace referencia al módulo " seoperformance ". Le pedí a un compañero de hosting que renombrara la carpeta del módulo para que no tuviera efecto y veo que la web carga de nuevo.

Revisa si se solucionaron los problemas y nos comentas.

Un saludo

ResponderCitar
Respondido : 28/01/2019 10:39 am

wpdoctor-revisa-la-salud-de-tu-wordpress

Angel
 Angel
Usuario activo

la web funciona perfectamente, es la pagina de pedidos/facturas del backoffice que no abre. y sigue igual da error 500

ResponderCitar
Respondido : 28/01/2019 10:59 am
Pepe
 Pepe
Soporte CMS Webempresa Admin

Hola Angel.

Ok, vamos eliminado errores.

Otro error que veo es el siguiente:

[28-Jan-2019 11:20:54 Europe/Madrid] PHP Notice: Undefined index: price in /home2/hudsongl/public_html/hudsonglasses.com/modules/ganalytics/ganalytics.php on line 539

Este error hace referencia al modulo ganalytics
.- Accede a tu cuenta de cpanel -> Administrador de archivos
.- Accede a la carpeta Modules y renombra la carpeta " ganalytics "

El problema:

PHP Fatal error: Uncaught PDOException: SQLSTATE[42000] [1203] User hudsongl_eLW834 already has more than 'max_user_connections' active connections in /home2/hudsongl/public_html/hudsonglasses.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43

Viene por conexiones a la base de datos, eso puede ser por problemas de optimización de la propia plantilla.

Me comentan desde ticket que tienes uno abierto sobre el tema, paso el ticket al departamento de optimización y que revisen lo que puede estar provocando ese aviso.

Te contestaran en el mismo ticket que tienes abierto.

Un saludo

ResponderCitar
Respondido : 28/01/2019 11:55 am

Gestor de Contraseñas - VPN Conexión Segura - Gestor 2FA (Segundo Factor de Autenticación

Angel
 Angel
Usuario activo

lo del analitics no es... lo renombre y seguia igual miro el tiket.... vine aqui porque el del tiket me dijo que preguntara aqui... esto es como vodafone jajaja de un dpto a otro

ResponderCitar
Respondido : 28/01/2019 12:19 pm
Pepe
 Pepe
Soporte CMS Webempresa Admin

Hola Angel.

No hombre, cuando te decimos que lo estan pasamos a otro departamento, ya hemos hablado con ellos primero y se pone a revisarlo al mismo momento.

Me dicen que estan haciendo las pruebas necesarias y te contestan en el ticket.

Lo errore que vimos antes no tienen nada que ver con el otro error.
El error que te muestra es de conexiones a la base de datos, se están haciendo más peticiones de las que debería.

Un saludo

ResponderCitar
Respondido : 28/01/2019 12:41 pm