Fatal error: During adding article in Content Service

Author Message

Dhaval Panchal

Wednesday 01 December 2010 9:00:12 pm

Hi All,

I need one help, I have one country portal called UK in which i have created one content service named "Just Published", when i try to add new article in that content service it gives following error:

Fatal error: Call to a member function attribute() on a non-object in /var/www/html/OSCAR_UAT/extension/oscar_event/eventtypes/event/ezapproveoscar/ezapproveoscartype.php on line 308 Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, debug information can be found in the log files normally placed in var/log/*

I would so nice if anyone help me.

Thanks

Dhaval

Alain Sahli

Wednesday 01 December 2010 11:31:13 pm

Hi Dhaval,

I think that you should show us the PHP code you wrote in your event -> extension/oscar_event/eventtypes/event/ezapproveoscar/ezapproveoscartype.php

http://www.wess.ch
eZ Publish Certified developer : http://auth.ez.no/certification/verify/272583

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:02:04
Script start
Timing: Jan 18 2025 02:02:04
Module start 'layout'
Timing: Jan 18 2025 02:02:04
Module start 'content'
Timing: Jan 18 2025 02:02:05
Module end 'content'
Timing: Jan 18 2025 02:02:05
Script end

Main resources:

Total runtime1.2270 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.1953152.6406
Module start 'layout' 0.00690.0048 741.835939.4844
Module start 'content' 0.01171.2134 781.3203526.2813
Module end 'content' 1.22510.0018 1,307.60168.1250
Script end 1.2269  1,315.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2880160.0002
Check MTime0.00140.1162160.0001
Mysql Total
Database connection0.00110.085710.0011
Mysqli_queries1.172395.5423540.0217
Looping result0.00070.0545520.0000
Template Total1.187896.820.5939
Template load0.00210.169820.0010
Template processing1.185796.633420.5928
Template load and register function0.00020.012310.0002
states
state_id_array0.00140.117310.0014
state_identifier_array0.00180.144320.0009
Override
Cache load0.00170.1375170.0001
Sytem overhead
Fetch class attribute can translate value0.00090.069920.0004
Fetch class attribute name0.00160.129740.0004
XML
Image XML parsing0.00430.348720.0021
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00390.3191220.0002
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs