rayleic Posted May 7, 2024 Share Posted May 7, 2024 (edited) 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 Edited May 7, 2024 by rayleic (see edit history) Link to comment Share on other sites More sharing options...
Prestashop Addict Posted May 7, 2024 Share Posted May 7, 2024 Please do not provide url admin for security reason! 😞 Link to comment Share on other sites More sharing options...
rayleic Posted May 7, 2024 Author Share Posted May 7, 2024 2 hours ago, Prestashop Addict said: Please do not provide url admin for security reason! 😞 Thank you for your kind suggestion, I replaced it. Link to comment Share on other sites More sharing options...
rayleic Posted May 8, 2024 Author Share Posted May 8, 2024 (edited) On 5/7/2024 at 5:15 PM, Prestashop Addict said: Please do not provide url admin for security reason! 😞 Can anyone help? I also have woocommerce and opencart, never got this kind of issue. And it seems it's very difficult to upgrade to newer version than wordpress. Edited May 8, 2024 by rayleic (see edit history) 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