Warning (2): Illegal offset type [CORE/cake/libs/set.php, line 900]Code |
Context for ($i = 0; $i < $count; $i++) {
if (is_int($keys[$i])) {
$newList[$list[$keys[$i]]] = null;
$list = array(
"Sluggable",
array(
"field" => "title"
)
)
$assoc = true
$sep = ","
$trim = true
$keys = array(
0,
1
)
$count = 2
$numeric = true
$newList = array(
"Sluggable" => null
)
$i = 1
Set::normalize() - CORE/cake/libs/set.php, line 900
BehaviorCollection::init() - CORE/cake/libs/model/model_behavior.php, line 267
Model::__construct() - CORE/cake/libs/model/model.php, line 483
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 641
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 497
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
Object::requestAction() - CORE/cake/libs/object.php, line 95
include - APP/views/videos/add.ctp, line 1
View::_render() - CORE/cake/libs/view/view.php, line 723
View::render() - CORE/cake/libs/view/view.php, line 419
Controller::render() - CORE/cake/libs/controller/controller.php, line 913
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83