qs Posted December 29, 2022 Share Posted December 29, 2022 (edited) Hola, tenia problemas en mi tienda, y tengo comprado e pretyurl lo desactive para actualizarlo al hacer esto se colgo todo! y no hay manera de encontrar el problema! he borrado el modulo y nada, he borrado: Dispatcher.php como indican en el foro y nada! los logs dicen: Parse error: syntax error, unexpected ''category_rule'' (T_CONSTANT_ENCAPSED_STRING), expecting function (T_FUNCTION) or const (T_CONST) ----- Parse error: syntax error, unexpected ''category_rule'' (T_CONSTANT_ENCAPSED_STRING), expecting function (T_FUNCTION) or const (T_CONST) Hide context Show trace [▼ "exception" => FatalThrowableError {#1 ▶} ] y: ---- Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Parse error: syntax error, unexpected ''category_rule'' (T_CONSTANT_ENCAPSED_STRING), expecting function (T_FUNCTION) or const (T_CONST)" at /var/www/vhosts/****/httpdocs/override/classes/Dispatcher.php line 4 Hide context Hide trace [▼ "exception" => FatalThrowableError {#1 ▶} ] {▼ /var/www/vhosts/****/httpdocs/override/classes/Dispatcher.php:4 {▼ › { › \t\t'category_rule' => array( › \t\t\t'controller' =>\t'category', } /var/www/vhosts/*****/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php:159 {▶} Symfony\Component\Debug\DebugClassLoader->loadClass() {} /var/www/vhosts/*****/httpdocs/admin/index.php:93 {▶} } alguna idea que puede ser ?¿ ya no se que hacer mas, tengo la version: 1.7.8 Edited December 29, 2022 by qs (see edit history) Link to comment Share on other sites More sharing options...
qs Posted December 29, 2022 Author Share Posted December 29, 2022 (edited) en : Stack Trace sale: Symfony\Component\Debug\Exception\FatalThrowableError: Parse error: syntax error, unexpected ''category_rule'' (T_CONSTANT_ENCAPSED_STRING), expecting function (T_FUNCTION) or const (T_CONST) at override/classes/Dispatcher.php:4 at PrestaShopAutoload->load() (vendor/symfony/symfony/src/Symfony/Component/Debug/DebugClassLoader.php:159) at Symfony\Component\Debug\DebugClassLoader->loadClass() at spl_autoload_call() (admin/index.php:93) Edited December 29, 2022 by qs (see edit history) Link to comment Share on other sites More sharing options...
idnovate.com Posted January 3, 2023 Share Posted January 3, 2023 Después de borrar o renombrar el fichero /override/classes/Dispatcher.php, ¿has limpiado caché? Link to comment Share on other sites More sharing options...
qs Posted January 3, 2023 Author Share Posted January 3, 2023 gracias, al final tube que hacer instalacion nueva, y recuperar el sql y demas y ya esta, alguna actualizacion o cualquier cosa lo mato! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now