Share » Forums » Install & configuration » I've got an unknown error

I've got an unknown error

I've got an unknown error

Thursday 28 September 2006 2:16:07 am - 5 replies

Author Message

Kristof Coomans

Thursday 28 September 2006 3:03:04 am

Hi Borge

There's probably some code in the template like this:

$somevar.someattribute

while $somevar is a boolean (but it has to be an object or array).

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Børge Warvik

Thursday 28 September 2006 3:21:09 am

Hi, thanks for answering!

These are the first lines of thetemplate:


{* DO NOT EDIT THIS FILE! Use an override template instead. *}
{let class_content=$attribute.class_content
     class_list=fetch( class, list, hash( class_filter, $class_content.class_constraint_list ) )
     can_create=true()
     new_object_initial_node_placement=false()
     browse_object_start_node=$attribute.class_content.default_placement.node_id}

I'm not sure what to variable is causing this. Do you have any idea?

Kristof Coomans

Thursday 28 September 2006 3:27:19 am

Do you see the attribute input fields correctly?

Did you override edit.tpl or edit_attribute.tpl for the specific content class? Or do you get the errors with all classes?

Try to put {$attribute|get_type} before the first line. What's the result?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Børge Warvik

Thursday 28 September 2006 3:34:11 am

I'm getting this:

object[ezcontentobjectattribute]

Børge Warvik

Thursday 28 September 2006 3:39:55 am

Strange this is that everything seems to be working just fine?!?

I can add and remove object (nodes) from that list as before this error occured!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu