tags:

views:

93

answers:

2

I change schema.yml from time to time and execute:

symfony propel:build-all-load

but the lib/_model and lb/model do not reflect my changes and cause: Call to undefined method

+1  A: 

Seems strange - did you do symfony cc (clear cache) afterwards?

Have you also tried doing symfony propel:build-model on its own to make sure the model files are being regenerated OK?

richsage
if you've added classes, you need to clear the cache as symfony builds a load of auto-load info up from your directory structure which it won't rebuild unless you clear it.
benlumley
A: 

As a starting point, clear the cache

symfony cc

Then try using

symfony propel:build-forms

beforehand.

Jon Winstanley