Warning (2): Illegal string offset 'joins' [APP/app_model.php, line 20]
Code |
Context$type = array(
"Comment.id" => "493"
)
$options = "blog_id"
function find($type, $options = array()) {
if (!isset($options['joins'])) {
$options['joins'] = array();
AppModel::find() - APP/app_model.php, line 20
Model::field() - CORE/cake/libs/model/model.php, line 1101
Model::updateCounterCache() - CORE/cake/libs/model/model.php, line 1442
Model::save() - CORE/cake/libs/model/model.php, line 1298
Model::saveField() - CORE/cake/libs/model/model.php, line 1141
BlogsController::flag_comment() - APP/controllers/blogs_controller.php, line 359
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 193
[main] - APP/webroot/index.php, line 88
Notice (8): Array to string conversion [APP/app_model.php, line 20]
Code |
Context$type = array(
"Comment.id" => "493"
)
$options = "blog_id"
function find($type, $options = array()) {
if (!isset($options['joins'])) {
$options['joins'] = array();
AppModel::find() - APP/app_model.php, line 20
Model::field() - CORE/cake/libs/model/model.php, line 1101
Model::updateCounterCache() - CORE/cake/libs/model/model.php, line 1442
Model::save() - CORE/cake/libs/model/model.php, line 1298
Model::saveField() - CORE/cake/libs/model/model.php, line 1141
BlogsController::flag_comment() - APP/controllers/blogs_controller.php, line 359
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 193
[main] - APP/webroot/index.php, line 88
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/beta.globalpovertyproject.com/httpdocs/cake/basics.php:316) [CORE/cake/libs/controller/controller.php, line 646]
Code |
Context$status = "Location: http://beta.globalpovertyproject.com/blogs/view/372"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 646
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 627
BlogsController::flag_comment() - APP/controllers/blogs_controller.php, line 362
Object::dispatchMethod() - CORE/cake/libs/object.php, line 117
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 193
[main] - APP/webroot/index.php, line 88