afx114 wrote:
Error: Only arrays and objects may be attached
#0 /usr/share/php/ZendFramework-1.8.1/library/Zend/Dojo/Data.php(114):
Zend_Dojo_Data->_normalizeItem(' {"ver": 1, "or...', NULL)
#1 /home/account/application/default/controllers/
OrgsController.php(78):
Zend_Dojo_Data->addItem(' {"ver": 1, "or...')
I have verified that $decodedJson is in fact a valid array by doing a
print_r on the array:
Array
(
[ver] => 1
[orgid] => 1
[icon] => http://server.com/images/nationaal.png
[title] => My Title
[sum] => Summary text
)
Your backtrace has a string as parameter for addItem(), so it can't be
an array.
nico