Enable Profiling - Override functions are undefined & getting 500



  • When the profiling is enabled, the custom functions from override class files are not loading and getting 500 with undefined message.

    Thanks,



  • Could you specify “undefined message”?



  • 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.



  • 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?



  • @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
    Tools::getCountryByIP()

    , its working fine but when turning on the profiling the error "Call to undefined function … "


 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.