0
class User extends AppModel {
    public $actsAs = array('Acl' => array('type' => 'requester'), 'Containable');
    ...
}

当我尝试删除用户时:

Fatal error: Call to a member function node() on a non-object in ...\AclBehavior.php on line 89

如何解决此错误?

4

1 回答 1

0

你的控制器中有这条线吗..?

public $components = array('Acl');
于 2013-08-16T07:36:38.453 回答