Jump to content

Back Office Very Slow When Adding Products


aee156

Recommended Posts

My back office is very slow, I turned on Debug in settings and got this error

 

Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'SimpleXMLElement' is not allowed' in /home/anytime/public_html/tools/profiling/Controller.php:267 Stack trace: #0 /home/anytime/public_html/tools/profiling/Controller.php(267): serialize(Object(Context)) #1 /home/anytime/public_html/tools/profiling/Controller.php(310): Controller->sizeofvar(Object(Context)) #2 /home/anytime/public_html/tools/profiling/Controller.php(237): Controller->displayDebug() #3 /home/anytime/public_html/classes/Dispatcher.php(349): Controller->run() #4 /home/anytime/public_html/index.php(28): DispatcherCore->dispatch() #5 {main} thrown in /home/anytime/public_html/tools/profiling/Controller.php on line 267

 

Any  idea how I can fix this??

Link to comment
Share on other sites

The reason that bo slow (fo as well) is that it appears you have PrestaShop Profiling enabled.

 

define('_PS_DEBUG_PROFILING_', false);  //this is normal setting, i.e. off

 

same file as enabling debug mode.

 

This does not however solve issue with profiling not working properly,  i.e. the error. 

Edited by El Patron (see edit history)
  • Like 1
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...