aee156 Posted July 20, 2016 Share Posted July 20, 2016 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 More sharing options...
El Patron Posted July 20, 2016 Share Posted July 20, 2016 (edited) 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 July 20, 2016 by El Patron (see edit history) 1 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