Jump to content

Notice: Trying to get property 'id_category_default' of non-object


Recommended Posts

Whoops, looks like something went wrong.

(1/1) ContextErrorException

Notice: Trying to get property 'id_category_default' of non-object

in ProductController.php line 1248

at ProductControllerCore->getBreadcrumbLinks()in FrontController.php line 1736

at FrontControllerCore->getBreadcrumb()in FrontController.php line 533

at FrontControllerCore->assignGeneralPurposeVariables()in FrontController.php line 590

at FrontControllerCore->initContent()in ProductController.php line 422

at ProductControllerCore->initContent()in Controller.php line 306

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

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

I haven't edited anything in the file. I've simply migrated my site to a new server & domain and this is the error I get when I try to switch languages from mobile view. It works perfectly fine when I switch it from the desktop view.


Let me know if you need any extra pieces of code to identify the issue.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...