Hi,
i checked your solution, but it occurs the same error.
public $hasAndBelongsToMany = array (
'Owners' => array (
'className' => 'User',
'with' => 'PermissionOwner',
),
'Rights' => array (
'clas
Check your model names in the HABTM relationships. Looks like you have a
mix of singular and plural.
Enjoy, John
On Monday, 14 March 2016 05:33:36 UTC+2, Steffen Reinig wrote:
>
> Hello Cakephp Fans,
>
> today i receive these error:
>
> Notice (8): Undefined index: User [CORE\Cake\Model\Datasour
Hello Cakephp Fans,
today i receive these error:
Notice (8): Undefined index: User [CORE\Cake\Model\Datasource\DboSource.php,
line 1388]
Its easy to reproduce:
Model: User belongsTo Group
Model: Permission habtm Rights (className User)
Permission habtm Owners (className User)
When i u