There is a problem in one of your related model relations or relations
of the related models. Check about 'fields' options and maybe
className etc ...

A way to search would be to remove the relation on this model one
after the other, until error disappear ..That will give you which
model to focus one.
Think also about clearing cache (models / persistent) if any.

hth

On Jan 23, 8:18 pm, dandreta <[EMAIL PROTECTED]> wrote:
> 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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to