hmulhim Posted September 29, 2013 Share Posted September 29, 2013 I just realized something is wrong with my website from back office: At least when I click on "1 Click Upgrade" "Seller Business Info" "Seller Types" "Seller payment info" I get server error, I check the logs and this is what I get: [29-Sep-2013 12:01:40 Etc/GMT+3] PHP Notice: Trying to get property of non-object in "xxxxx"/classes/controller/FrontController.php on line 173 [29-Sep-2013 12:01:40 Etc/GMT+3] PHP Fatal error: Call to a member function isLogged() on a non-object in "xxxxx"/classes/controller/FrontController.php on line 351 xxxx are hidden! I appreciate your help!! Link to comment Share on other sites More sharing options...
NemoPS Posted September 30, 2013 Share Posted September 30, 2013 Hi there! Prestashop version? Link to comment Share on other sites More sharing options...
hmulhim Posted September 30, 2013 Author Share Posted September 30, 2013 Hi there! Prestashop version? Server informationServer information: Linux #1 SMP Thu Mar 7 15:58:33 EST 2013 x86_64 Server software version: Apache PHP version: 5.4.20 Memory limit: 130M Max execution time: 30 Database informationMySQL version: 5.5.34-log MySQL engine: InnoDB Tables prefix: phi_ Store informationPrestaShop version: 1.5.4.1 Shop URL: http://nakhasah.com/ Current theme in use: default Link to comment Share on other sites More sharing options...
NemoPS Posted September 30, 2013 Share Posted September 30, 2013 Really weird, is it an upgraded shop? THere is no call to isLogged in that version. Can you download a fresh 1.5.4.1 and replace the whole classes/controllers folder? Link to comment Share on other sites More sharing options...
hmulhim Posted September 30, 2013 Author Share Posted September 30, 2013 Thank you for telling me this!!!! I did and tried "1 click upgrade" two weeks ago many times, but it always throws some exceptions at the middle of the download process I think! tried many times without any luck! Is there such a thing as a half upgrade? How can I fix this? SHould I just replace the files? should that do? Hussam Link to comment Share on other sites More sharing options...
NemoPS Posted September 30, 2013 Share Posted September 30, 2013 Yeah, replace them Link to comment Share on other sites More sharing options...
hmulhim Posted September 30, 2013 Author Share Posted September 30, 2013 The frontController file is the same! the problem remains! Hussam Link to comment Share on other sites More sharing options...
NemoPS Posted September 30, 2013 Share Posted September 30, 2013 Can you try enabling errors as described in my signature? Log might be wrong on the error line Link to comment Share on other sites More sharing options...
hmulhim Posted September 30, 2013 Author Share Posted September 30, 2013 Notice: Trying to get property of non-object in /home6/aljariya/public_html/souq/classes/controller/FrontController.php on line 173Fatal error: Call to a member function isLogged() on a non-object in /home6/aljariya/public_html/souq/classes/controller/FrontController.php on line 351 Link to comment Share on other sites More sharing options...
NemoPS Posted September 30, 2013 Share Posted September 30, 2013 I think I got it...partially. It seems the customer variable is not set for the current context. I was mistaken anyway, I was checking line 531! My bad. I am kinda clueless at this point. It seems that $this->context->customer is a valid object at line 162, but not at line 173. Can you try replacing the whole classes folder, as well as the controllers folder? Link to comment Share on other sites More sharing options...
hmulhim Posted September 30, 2013 Author Share Posted September 30, 2013 I just replaced the classes folder and all what it has in it. Same! Link to comment Share on other sites More sharing options...
NemoPS Posted September 30, 2013 Share Posted September 30, 2013 Hm... I hope someone else has some kind of idea cause I'm clueless at this point! Link to comment Share on other sites More sharing options...
hmulhim Posted September 30, 2013 Author Share Posted September 30, 2013 Thanks, should I think about manually updating Prestashop from 1.5.4.1 to 1.5.5.0 at this point?? Link to comment Share on other sites More sharing options...
NemoPS Posted September 30, 2013 Share Posted September 30, 2013 That's an option but it's not guaranteed that this issue will be fixed! Link to comment Share on other sites More sharing options...
pienzu Posted October 8, 2015 Share Posted October 8, 2015 Hi, did you finally get a solution to the problem? Link to comment Share on other sites More sharing options...
mesalman Posted May 10, 2016 Share Posted May 10, 2016 I have the following error on my BO. My prestashop version is 1.6.1.5. The error appeared today suddenly. Have not done any update on any module. Notice on line 2146 in file /home/mesalman/public_html/classes/controller/AdminController.php [8] Trying to get property of non-object 5 errors Error found : StartTag: invalid element name in country_module_list.xml file. Error found : Premature end of data in tag GBP line 1 in country_module_list.xml file. Error found : Premature end of data in tag price line 1 in country_module_list.xml file. Error found : Premature end of data in tag module line 1 in country_module_list.xml file. Error found : Premature end of data in tag modules line 1 in country_module_list.xml file. Anyone can help? Link to comment Share on other sites More sharing options...
NemoPS Posted May 10, 2016 Share Posted May 10, 2016 Delete (or better rename) that file inside config/xml. Then reload the modules page in the bo Link to comment Share on other sites More sharing options...
thuanr Posted June 18, 2016 Share Posted June 18, 2016 is some way working ? got the same issue with 1.6 Link to comment Share on other sites More sharing options...
NemoPS Posted June 20, 2016 Share Posted June 20, 2016 I guess you already tried what I mentioned above?If so, after deleting, you can try this: http://nemops.com/faster-prestashop-back-office-modules-themes-ads/#.V2e08vn5jmg Link to comment Share on other sites More sharing options...
Recommended Posts