try commenting out the associations in your model. then try a bake. if it works, you probably have your associations set up incorrectly.
On 24 Feb, 22:43, "Seb" <[EMAIL PROTECTED]> wrote: > The only thing I can say... if anyone else runs into that, is have a > look at the assumptions Bake makes in regards to associations... a guy > on IRC had the same issue, and forced a $belongsTo instead of $hasOne > (as was his data model) and it worked... > > hth, > > Seb. > > On Jan 16, 3:46 am, "lucaspirola" <[EMAIL PROTECTED]> wrote: > > > i got the same issue, i tried in linux and windows with the same > > config, > > i use the lastest version of xampp and cake > > the error i got when i try create a view: > > > Fatal error: Call to a member functiongetDisplayField() on anon-objectin > > C:\xampp\htdocs\cake\cake\scripts\bake.php on line 965 > > > thanks, for any information! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---