Nacho Posted June 12, 2018 Share Posted June 12, 2018 (edited) Al intentar entrar por primera vez al backoffice siempre me da el siguiente error: Version de PHP: 7.2.6 Whoops, looks like something went wrong. 1/1 FatalErrorException in AdminDashboardController.php line 0: Compile Error: Declaration of AdminDashboardControllerCore::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) in AdminDashboardController.php line 0 AH01071: Got error 'PHP message: PHP Fatal error: Declaration of AdminDashboardControllerCore::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) in /var/www/vhosts/soportetiendaonline.com/shop.soportetiendaonline.com/controllers/admin/AdminDashboardController.php on line 0\nPHP message: PHP Fatal error: Uncaught Symfony\\Component\\Debug\\Exception\\FatalErrorException: Compile Error: Declaration of AdminDashboardControllerCore::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) in /var/www/vhosts/soportetiendaonline.com/shop.soportetiendaonline.com/controllers/admin/AdminDashboardController.php:0\nStack trace:\n#0 {main}\n\nNext LogicException: Request stack is empty in /var/www/vhosts/soportetiendaonline.com/shop.soportetiendaonline.com/app/bootstrap.php.cache:3231\nStack trace:\n#0 [internal function]: Symfony\\Component\\HttpKernel\\HttpKernel->terminateWithException(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))\n#1 /var/www/vhosts/soportetiendaonline.com/shop.soportetiendaonline.com/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php(606): call_user_func(Array, Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))\n#2 /var/www/vhosts/soportetiendaonline.com/shop.soportetiendaonline.com/vendor/symfony/symfony...\n' Edited June 12, 2018 by Nacho (see edit history) Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted June 12, 2018 Share Posted June 12, 2018 17 minutes ago, Nacho said: Al intentar entrar por primera vez al backoffice siempre me da el siguiente error: Version de PHP: 7.2.6 Whoops, looks like something went wrong. 1/1 FatalErrorException in AdminDashboardController.php line 0: Compile Error: Declaration of AdminDashboardControllerCore::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) in AdminDashboardController.php line 0 AH01071: Got error 'PHP message: PHP Fatal error: Declaration of AdminDashboardControllerCore::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) in /var/www/vhosts/soportetiendaonline.com/shop.soportetiendaonline.com/controllers/admin/AdminDashboardController.php on line 0\nPHP message: PHP Fatal error: Uncaught Symfony\\Component\\Debug\\Exception\\FatalErrorException: Compile Error: Declaration of AdminDashboardControllerCore::setMedia() must be compatible with AdminControllerCore::setMedia($isNewTheme = false) in /var/www/vhosts/soportetiendaonline.com/shop.soportetiendaonline.com/controllers/admin/AdminDashboardController.php:0\nStack trace:\n#0 {main}\n\nNext LogicException: Request stack is empty in /var/www/vhosts/soportetiendaonline.com/shop.soportetiendaonline.com/app/bootstrap.php.cache:3231\nStack trace:\n#0 [internal function]: Symfony\\Component\\HttpKernel\\HttpKernel->terminateWithException(Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))\n#1 /var/www/vhosts/soportetiendaonline.com/shop.soportetiendaonline.com/vendor/symfony/symfony/src/Symfony/Component/Debug/ErrorHandler.php(606): call_user_func(Array, Object(Symfony\\Component\\Debug\\Exception\\FatalErrorException))\n#2 /var/www/vhosts/soportetiendaonline.com/shop.soportetiendaonline.com/vendor/symfony/symfony...\n' Baja la versión de PHP a la 7.0, o 7.1 y mira ver si te pasa lo mismo saludos Link to comment Share on other sites More sharing options...
Nacho Posted June 12, 2018 Share Posted June 12, 2018 He cambiado la versión de PHP y ya funciona bien. Muchas gracias por su ayuda 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