Hi!! I have index function in my controller of the following form: function index() { $this->Proyecto->recursive = 2; $this->set('proyectos', $this->paginate()); }
And all of the projects appear correctly in the index view with their fields and for each project the information of other related tables. The problem is that this error appears: Notice (8): Undefined offset: 0 [CORE/cake/libs/model/datasources/ dbo_source.php, line 882] I have observed that it seems to be because of recursive attribute, since if I put it = 0, the error does not appear, but the information of the related tables does not appear. Also If I put it =1 the error appears. How can I solve this error? Any suggestion? Thanks and regards --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---