Bin will be removed on June 1, 2014 in favor of http://gist.github.com. Please save all your pastes before then. So long, and thanks for all the fish!×
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Warning (2): Invalid argument supplied for foreach() [CORE\Cake\Model\Model.php, line 2053]
Code Context
                            }
                        }
                        $_return = $this->{$association}->saveMany($values, array_merge($options, array('atomic' => false)));
$data   =   false
$options    =   array(
    'validate' => false,
    'atomic' => false,
    'deep' => true
)
$validationErrors   =   array()
$return =   array()
Model::saveMany() - CORE\Cake\Model\Model.php, line 2053
Model::saveAssociated() - CORE\Cake\Model\Model.php, line 2253
Model::saveMany() - CORE\Cake\Model\Model.php, line 2058
Model::saveAll() - CORE\Cake\Model\Model.php, line 2000
InvoicesController::saveLocal() - APP\Controller\InvoicesController.php, line 114
InvoicesController::index() - APP\Controller\InvoicesController.php, line 25
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 485
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 103
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 85
[main] - APP\webroot\index.php, line 96