Details
-
Bug
-
Resolution: Obsolete
-
Medium
-
None
-
4.1.3, 4.2.0alpha1
-
None
Description
{def $x = fetch_alias( 'nodes_by_entity')}
=>
php fatal error: Cannot unset string offsets in D:\htdocs\ezp\clients\xxx\prj_portailpro\trunk\kernel\classes\ezcontentobjecttreenode.php on line 912
The definition of the alias fetch is:
[nodes_by_entity] Module=content FunctionName=list Constant[parent_node_id]=2 Constant[attribute_filter]=fdo_ofsap_entity/ofsap_entity;=;scossone #Constant[class_filter_type]=include #Constant[class_filter_array]=fdo_ofsap_entity #Parameter[attribute_filter]=attribute_filter
The compiled template code is:
$var = call_user_func_array( array( new eZContentFunctionCollection(), 'fetchObjectTree' ), array( 'parent_node_id' => "2", 'sort_by' => array(), 'only_translated' => false, 'language' => false, 'offset' => false, 'limit' => false, 'depth' => 1, 'depth_operator' => "le", 'class_id' => false, 'attribute_filter' => "fdo_ofsap_entity/ofsap_entity;=;scossone", 'extended_attribute_filter' => false, 'class_filter_type' => false, 'class_filter_array' => false, 'group_by' => false, 'main_node_only' => false, 'ignore_visibility' => false, 'limitation' => null, 'as_object' => null, 'objectname_filter' => null, 'load_data_map' => null ) );
Attachments
Issue Links
- relates to
-
EZP-15211 php fatal error when fetchalias called without second param
- Closed