Answer the question
In order to leave comments, you need to log in
What to do when app and app_dev behave differently?
The entity is written to the database incorrectly. The cache was cleared. On app_dev, the functionality works fine, on app, some lines seem to be ignored.
field in user:
fake:
type: boolean
default: false
$newUser->setFake(true);
Answer the question
In order to leave comments, you need to log in
put app.php in debug mode and debug why there false (0) comes to the database
Look at the difference in the config_dev.yml and config_prod.yml configurations
It would be better if they also gave an example of what does not work out in order to know which way to dig
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question