Forums / General / Help? Fatal error: Call to a member function on a..

Help? Fatal error: Call to a member function on a..

Author Message

neil clark

Tuesday 30 May 2006 10:25:59 am

Tried to upload an image to Design - Look and Feel of the Site Access but got this went I sent for publishing. Advice?

Fatal error: Call to a member function on a non-object in /www/ez/htdocs/ez/kernel/classes/ezcontentobject.php on line 1126
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

Kristof Coomans

Tuesday 30 May 2006 10:48:59 am

Hi Neil

Welcome to the eZ community!

What version of eZ and PHP are you using?

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

neil clark

Wednesday 31 May 2006 1:40:57 am

Hi and thanks for the Welcome

We are using 3.8.0 and php is a version of 4, need to check exactly which but I expect it is 4.4

cheers
neil

neil clark

Wednesday 31 May 2006 4:59:59 am

We fixed it. cheers

Kristof Coomans

Wednesday 31 May 2006 10:45:57 pm

What was the problem, and how did you fix it? Just in case someone has the same problem and finds this topic...

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

neil clark

Thursday 01 June 2006 8:37:18 am

Basically we were editing a "look and feel" template, for an unknown reason the update failed and this confused the system, it was looking for version 10 of template but it didn't exist.
Could the problem be linked to the fact that two of us were logged in at the same time using the same account, and editing the same template?

Here's what the guy who fixed it said was the problem and how he resolved it.

"backtraced the functions called, debugging each one - finally finding one that returns null when an sql query returns no results (the child functions weren't checking for this null return because it shouldn't arise ideally).

i then dumped the sql query that was failing to return any results and found that it was looking for version 10 of the UWESU Beta template when infact the versions only went up to 9

i'm thinking that maybe you and matt editing the template at the same time while using the same login might have had something to do with it. but the chances are 1 in a billion. you would have had to both press submit at the same time or something. But EZ should be locking tables to stop clashes happening. Might just have been a freak error. "

eZ debug

Timing: Jan 19 2025 00:21:42
Script start
Timing: Jan 19 2025 00:21:42
Module start 'content'
Timing: Jan 19 2025 00:21:43
Module end 'content'
Timing: Jan 19 2025 00:21:44
Script end

Main resources:

Total runtime1.3838 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.0052 587.8359180.8203
Module start 'content' 0.00521.0876 768.6563571.2344
Module end 'content' 1.09270.2909 1,339.8906337.3750
Script end 1.3837  1,677.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.2862210.0002
Check MTime0.00140.1045210.0001
Mysql Total
Database connection0.00090.061810.0009
Mysqli_queries1.274692.10992030.0063
Looping result0.00220.15582010.0000
Template Total1.358098.120.6790
Template load0.00200.145920.0010
Template processing1.356097.990620.6780
Template load and register function0.00020.014910.0002
states
state_id_array0.00200.141810.0020
state_identifier_array0.00080.061420.0004
Override
Cache load0.00180.1285290.0001
Sytem overhead
Fetch class attribute can translate value0.00230.165530.0008
Fetch class attribute name0.00100.072370.0001
XML
Image XML parsing0.00090.068030.0003
class_abstraction
Instantiating content class attribute0.00000.001480.0000
General
dbfile0.01951.4074270.0007
String conversion0.00000.000330.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs