Enable Profiling - Override functions are undefined & getting 500
abdullacm last edited by
When the profiling is enabled, the custom functions from override class files are not loading and getting 500 with undefined message.
Nemo last edited by
Could you specify “undefined message”?
Traumflug last edited by
Eeeek. Overrides. Source of trouble.
Usually these overrides are made for PrestaShop. Thirty bees changed quite a bit under the hood, so no surprise if PS overrides don’t work on 30bz.
mdekker last edited by
Nahh functions haven’t changed. The autoloader does something funky when going into profiling mode. I guess we should have a look at the autoloader.
Btw, not being able to run your store without overrides is not a good sign. Have you modified core classes directly?
abdullacm last edited by abdullacm
@mdekker The Tools class was already overridden and added a custom static function for getting user country code by his/her ip. This new function is called in other modules like
, its working fine but when turning on the profiling the error "Call to undefined function … "