Tuesday, September 29, 2009

Uninitialized string offset notice

My cakephp applications works fine on my local server. On my web
server, I get the following error notice (the data does get saved,
though):

Notice (8): Uninitialized string offset: 0 [CORE/cake/libs/model/
model.php, line 1319]
Code | Context
Model::__saveMulti() - CORE/cake/libs/model/model.php, line 1319
Model::save() - CORE/cake/libs/model/model.php, line 1239

Line 1319 in model php is:
} elseif (isset($row[$join][$this->hasAndBelongsToMany[$assoc]
['associationForeignKey']])) {
$newData[] = $row[$join];

Any ideas of what I should look into fixing?

Thanks,

B.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: