Jump to content

[solved]AdminController property of non-object line 1890


Recommended Posts

PS version: 1.6.0.9

 

All pages on BO was warning an message like this:

 

Notice: property of non-object line on classes//controllerAdminController.php, line 1890

 

The message itself do not cause any major problems but, the BO was very very very slow.

 

I did an override to try to fix and worked, i think...

 

 

The original code on line 1890

if (is_object($country_module_list_xml->module))

The changed code

if (is_object($country_module_list_xml) && is_object($country_module_list_xml->module))

*Complete code of overrided class is attached

 

 

After upload the override, the BO now is loading the pages "very fast" or in the "normal/acceptable" time.

 

 

 

Please, fix the issue on next upgrades.

Thanks

 

 

 

 

AdminController.php

Link to comment
Share on other sites

I've just applied this fix from github but I still have these issues : https://space.zeo.net/g/h64o

 

the proper place to report bugs or new feature:

http://forge.prestashop.com/

 

please open bug or feature request and if you would be so kind as to post that link back here for others to follow/comment and vote up it would be much appreciated.

My mistake. I've cleared the cache and now it works :) !

 

 

woot woot, clearing cache/cookies is the new solution over 'have you tried turning your computer off and back on again) :)

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...