innocuous Posted October 25, 2018 Share Posted October 25, 2018 (edited) Hi I upgraded from 1.6 to latest 1.7. everything is fine except that I am getting the following error on site. It is preventing me from logging in to admin also. Notice: Undefined index: locale in /home/public_html/classes/Language.php on line 627 You can see the error at www dot colorite dot in. How can I fix this? Thanks Edited October 25, 2018 by innocuous Title change (see edit history) Link to comment Share on other sites More sharing options...
Rolige Posted October 25, 2018 Share Posted October 25, 2018 Hello: Please, check that in your ps_lang table you have the following structure: If not, your upgrade was not properly finish and your DB tables has some missing columns. Regards Link to comment Share on other sites More sharing options...
innocuous Posted October 26, 2018 Author Share Posted October 26, 2018 Thanks! That seemed to fix the problem. Seems the DB upgrade did not go well in the auto upgrade module. BUT now a new error crops up.... Warning: Invalid argument supplied for foreach() in /home/colorite/public_html/classes/Profile.php on line 174 The issue is that I cannot login to admin as it accepts the credentials but just closes the login form and stays on same page. How do I fix this? Thanks Link to comment Share on other sites More sharing options...
innocuous Posted October 26, 2018 Author Share Posted October 26, 2018 In the autoupgrade tmp directory, the log file ends with: [2018-10-25 07:46:15] All files upgraded. Now upgrading database... [2018-10-25 07:46:16] Migrating old setting file... [2018-10-25 07:46:16] [INTERNAL] /home/colorite/public_html/vendor/symfony/symfony/src/Symfony/Component/Yaml/Parser.php line 42 - syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' How do I fix this as I cannot even login to backend? I have many products so starting afresh is not possible. Link to comment Share on other sites More sharing options...
jrgrafisk Posted February 4, 2021 Share Posted February 4, 2021 I might have run into the same problem Notice: Undefined index: _route in /customers/0/8/2/nettotruck.dk/httpd.www/src/PrestaShopBundle/Controller/Admin/CommonController.php on line 121 Returns a HTTP 500, but I can't figure out why. Happened when I moved a hook for a module - which I now have deleted. Link to comment Share on other sites More sharing options...
ZiedDams Posted February 28, 2022 Share Posted February 28, 2022 On 2/4/2021 at 8:30 AM, jrgrafisk said: I might have run into the same problem Notice: Undefined index: _route in /customers/0/8/2/nettotruck.dk/httpd.www/src/PrestaShopBundle/Controller/Admin/CommonController.php on line 121 Returns a HTTP 500, but I can't figure out why. Happened when I moved a hook for a module - which I now have deleted. enable the debug mode to see what is the error 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