Jump to content

Edit History

rayleic

rayleic

Hello friend,

My PS version is 1.7.6.4. The store works well in the past and after I moved hosting recently, only the front page works well, can't login admin page as it is 500 error blank page. I have tried many ways such as delete var/cache folder, check permissions, revise the php version to 7.3 or 7.2, all not work.

Anyone please help, thank you so much!


I set the debug mode and get this at my admin page:

(1/1) UndefinedMethodException

Attempted to call an undefined method named "jschecks" of class "AdminLoginController".

in Controller.php line 634

at ControllerCore->smartyOutputContent(array('/home/czybzzlr/public_html/ abc.com/admin818moda/themes/default/template/controllers/login/layout.tpl'))in AdminController.php line 1885

at AdminControllerCore->display()in Controller.php line 311

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 97

In the error_log file of admin folder in cPanel, the message as below:
[07-May-2024 12:47:48 Asia/Shanghai] PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Cannot use object of type Symfony\Component\HttpFoundation\ParameterBag as array in /home/czybzzlr/public_html/ abc.com/src/Adapter/Security/Admin.php:91
Stack trace:
#0 /home/czybzzlr/public_html/ abc.com/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(212): PrestaShop\PrestaShop\Adapter\Security\Admin->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))
#1 /home/czybzzlr/public_html/ abc.com/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#2 /home/czybzzlr/public_html/ abc.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(127): Symfony\Component\Ev in /home/czybzzlr/public_html/ abc.com/src/Adapter/Security/Admin.php on line 91

rayleic

rayleic

Hello friend,

My PS version is 1.7.6.4. The store works well in the past and after I moved hosting recently, only the front page works well, can't login admin page as it is 500 error blank page. I have tried many ways such as delete var/cache folder, check permissions, revise the php version to 7.3 or 7.2, all not work.

Anyone please help, thank you so much!
 

I set the debug mode and get this at my admin page:

(1/1) UndefinedMethodException

Attempted to call an undefined method named "jschecks" of class "AdminLoginController".

in Controller.php line 634

at ControllerCore->smartyOutputContent(array('/home/czybzzlr/public_html/modasummergifts.com/admin818moda/themes/default/template/controllers/login/layout.tpl'))in AdminController.php line 1885

at AdminControllerCore->display()in Controller.php line 311

at ControllerCore->run()in Dispatcher.php line 515

at DispatcherCore->dispatch()in index.php line 97

In the error_log file of admin folder in cPanel, the message as below:
[07-May-2024 12:47:48 Asia/Shanghai] PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Cannot use object of type Symfony\Component\HttpFoundation\ParameterBag as array in /home/czybzzlr/public_html/modasummergifts.com/src/Adapter/Security/Admin.php:91
Stack trace:
#0 /home/czybzzlr/public_html/modasummergifts.com/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(212): PrestaShop\PrestaShop\Adapter\Security\Admin->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))
#1 /home/czybzzlr/public_html/modasummergifts.com/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(44): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#2 /home/czybzzlr/public_html/modasummergifts.com/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(127): Symfony\Component\Ev in /home/czybzzlr/public_html/modasummergifts.com/src/Adapter/Security/Admin.php on line 91

×
×
  • Create New...