I just learnt about the
php app/console doctrine:ensure-production-settings
command and when I execute it, the console answers back with: “Proxy Classes are always regenerating”.
I can’t find too much information about this warning online, and I can’t for the life of me figure out what does this message mean.
Does anyone know a solution for this warning?
It caused by option in
app/config/config.ymlwhich looks like:
All commands by default have debug mode enabled so
auto_generate_proxy_classesis set totrue.to disable kernel.debug in commands you should use
--no-debugoption.so at the end command should looks like that: