Forums / Install & configuration / Fatal error: Call to a member function on a non-object

Fatal error: Call to a member function on a non-object

Author Message

Peter Teichert

Friday 20 August 2004 2:30:32 am

Hi ez publish fans,

I am new to ez publish and while organizing site I am getting the following error:
Fatal error: Call to a member function on a non-object in /srv/www/htdocs/web25/html/kernel/classes/ezcontentobject.php on line 1864

Meanwhile I deleted all newly added sections, articles to get back to the starting point.

How I can reset ez publish ?

best regards

osprofi

Ole Morten Halvorsen

Wednesday 25 August 2004 2:27:37 am

You can reset the eZ publish database by:
1. dropping your current database
2. import kernel/sql/mysql/kernel_schema.sql if you use MySQL or kernel/sql/postgresql/kernel_schema.sql if you use PostgreSQL.
3. import the cleandata.sql in kernel/sql/common/cleandata.sql

The example over is for eZ publish 3.4x

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

K259

Thursday 28 October 2004 12:45:07 am

We're running 3.4.1 and some of our users now get this error when loggin in:

Fatal error: Call to a member function on a non-object in /kernel/classes/ezcontentobject.php on line 1864
Fatal error: eZ publish did not finish it's request

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

I tried to delete users who get this problem, and recreate them, but they still get the error message. So now we also can't create new users either.

Need urgent help!
Has this bug been fixed earlier? (url?)

eZ debug

Timing: Jan 19 2025 03:39:12
Script start
Timing: Jan 19 2025 03:39:12
Module start 'content'
Timing: Jan 19 2025 03:39:13
Module end 'content'
Timing: Jan 19 2025 03:39:13
Script end

Main resources:

Total runtime1.0370 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 589.2188180.8047
Module start 'content' 0.00850.8618 770.0234539.0313
Module end 'content' 0.87030.1667 1,309.0547333.4766
Script end 1.0370  1,642.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.4465210.0002
Check MTime0.00150.1475210.0001
Mysql Total
Database connection0.00090.088810.0009
Mysqli_queries0.958492.41891960.0049
Looping result0.00220.21321940.0000
Template Total0.995596.020.4977
Template load0.00440.427620.0022
Template processing0.991095.565420.4955
Template load and register function0.00020.016810.0002
states
state_id_array0.00150.144410.0015
state_identifier_array0.00150.147320.0008
Override
Cache load0.00380.3640240.0002
Sytem overhead
Fetch class attribute can translate value0.00190.186340.0005
Fetch class attribute name0.00160.151430.0005
XML
Image XML parsing0.00070.064940.0002
class_abstraction
Instantiating content class attribute0.00000.001330.0000
General
dbfile0.00260.2533210.0001
String conversion0.00000.000830.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs