The SQL query can't be performed because you are asking for the value "Array" for "ezcontentobject_tree.contentobject_id" (check out the start of the "WHERE"-part of the query).
I don't know how the SQL query is created, but my guess is that you are passing a value to the SQL creation process that is an array instad of an ordinary variable.
I have the same problem :
___________
{let related=$node.object.data_map.keyword.content.related_objects}
{section show=$related}
<h2>Related documents</h2>
<ol>
{section name=Related loop=$related}
<li><a href={$:item.url_alias|ezurl}>{$:item.name}</a></li>
{/section}
</ol>
{/section}
{/let} _____________
I get this error msg also :
---------------------------
Query error: Unknown column 'Array' in 'where clause'. Query: SELECT ezcontentobject.*,
ezcontentobject_tree.*,
ezcontentclass.name as class_name
FROM ezcontentobject_tree,
ezcontentobject,
ezcontentclass
WHERE ezcontentobject_tree.contentobject_id=Array AND
ezcontentobject_tree.main_node_id = ezcontentobject_tree.node_id AND
ezcontentobject_tree.contentobject_id=ezcontentobject.id AND
ezcontentclass.version=0 AND
ezcontentclass.id = ezcontentobject.contentclass_id ----------------------------
error i the table name !
how this work in ez.no and its using version 3.2 ?! in the old versions i used to get php error.
You must be logged in to post messages in this topic!