please tell me how to use
Closed this issue · 1 comments
78182648 commented
ErrorException [ Recoverable Error ]: Argument 1 passed to Breadcrumbs::add() must be an array, object given, called in D:\wamp\www\cheersphp\application\classes\controller\admin\category.php on line 12 and defined
tapvt commented
What object are you passing in to add()
on line 12 of Controller_Admin_Category?
You should be passing an array like this: Breadcrumbs::add(array('Title', 'url/for/the/crumb');
The docblock in classes/breadcrumbs.php, around line 55, tells you everything you need to know to use the add()
method.