Forums / Install & configuration / I've got an unknown error

I've got an unknown error

Author Message

Børge Warvik

Thursday 28 September 2006 2:16:07 am

The error message I get when trying to create or edit an node with datatypes of type objectrelationlist.

This is the error:

Error: eZTemplate @ design/standard/templates/content/datatype/edit/ezobjectrelationlist.tpl:2[0]  	Sep 28 2006 11:14:26

Cannot retrieve attribute of a boolean

Any ideas what causes this?

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!

eZ debug

Timing: Jan 18 2025 20:56:58
Script start
Timing: Jan 18 2025 20:56:58
Module start 'content'
Timing: Jan 18 2025 20:56:59
Module end 'content'
Timing: Jan 18 2025 20:56:59
Script end

Main resources:

Total runtime1.2133 sec
Peak memory usage4,096.0000 KB
Database Queries203

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.7344180.8281
Module start 'content' 0.00650.9987 768.5625579.5703
Module end 'content' 1.00520.2080 1,348.1328337.3984
Script end 1.2132  1,685.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.3619210.0002
Check MTime0.00170.1411210.0001
Mysql Total
Database connection0.00110.093610.0011
Mysqli_queries1.116492.01302030.0055
Looping result0.00260.21372010.0000
Template Total1.172096.620.5860
Template load0.00230.193220.0012
Template processing1.169796.400920.5848
Template load and register function0.00010.009310.0001
states
state_id_array0.00210.173310.0021
state_identifier_array0.00110.088020.0005
Override
Cache load0.00210.1698330.0001
Sytem overhead
Fetch class attribute can translate value0.00150.125430.0005
Fetch class attribute name0.00110.093680.0001
XML
Image XML parsing0.00120.102930.0004
class_abstraction
Instantiating content class attribute0.00000.0024120.0000
General
dbfile0.00840.6889330.0003
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs