Hi
Analysing the properties of the object ...
var_dump(get_object_vars($item->fields_by_id[9]));
... results in a memory allocation >256M even if the field is type "text".
Maybe some code creates a memory leak here.
to access at least the keys try:
array_keys((array)$item->fields_by_id[9]);
and call the needed value's individually.
to reproduce:
J2.5 Cobalt 7 latest
open active template in editor and paste
var_dump(get_object_vars($item->fields_by_id[ID]));
where id needs to reflect a real object. save & reload, check error_log at Joomla root.
Hi
Analysing the properties of the object ...
var_dump(get_object_vars($item->fields_by_id[9]));
... results in a memory allocation >256M even if the field is type "text".
Maybe some code creates a memory leak here.
to access at least the keys try:
array_keys((array)$item->fields_by_id[9]);
and call the needed value's individually.
to reproduce:
J2.5 Cobalt 7 latest
open active template in editor and paste
var_dump(get_object_vars($item->fields_by_id[ID]));
where id needs to reflect a real object. save & reload, check error_log at Joomla root.