Matt_ Posted December 16, 2016 Share Posted December 16, 2016 Hi Like most days. I visited my site today and now it says 500 error. When I visit the back office, it says 501. The site was working great yesterday and every day since I installed 1.7 I have been working on a module. Sometimes if I made a syntax error, I would get a 501 error. So I'd view my PHP log (via my web host) and find on what line the error was, then I'd fix it and it'd work properly again. Today I even deleted the directory (and all containing files) for that custom module and still no difference. So I guess that wasn't causing this problem! Even though I HAVEN'T restored it. The PHP log reveal a function was called on a null class. That is an original file and I have never touched it!!! Exact error: "PHP Fatal error: Call to a member function getName() on null in ~~~/config/config.inc.php on line 117" (main directory replaced with ~~~). That file on line 117 is: "define('_THEME_NAME_', $context->shop->theme->getName());". What do you think is the REAL problem? How can I get my site functioning like usual? Matt Link to comment Share on other sites More sharing options...
Jeremyv Posted December 16, 2016 Share Posted December 16, 2016 Not to highjack your topic, but I am having so many problems it is not funny on 1.7 as well. Link to comment Share on other sites More sharing options...
lanje Posted January 31, 2017 Share Posted January 31, 2017 Hi, change your shop domain, iadd 'www' In your database , choose ps_shop_url and change domain. 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