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?)

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 19 2025 06:19:33
Script start
Timing: Jan 19 2025 06:19:33
Module start 'layout'
Timing: Jan 19 2025 06:19:33
Module start 'content'
Timing: Jan 19 2025 06:19:34
Module end 'content'
Timing: Jan 19 2025 06:19:34
Script end

Main resources:

Total runtime1.0402 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 589.4063152.6563
Module start 'layout' 0.00460.0022 742.062539.5234
Module start 'content' 0.00681.0318 781.5859533.9219
Module end 'content' 1.03860.0016 1,315.507812.1094
Script end 1.0402  1,327.6172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2822160.0002
Check MTime0.00130.1204160.0001
Mysql Total
Database connection0.00080.078910.0008
Mysqli_queries0.997295.8636590.0169
Looping result0.00050.0527570.0000
Template Total1.016697.720.5083
Template load0.00180.176220.0009
Template processing1.014797.551720.5074
Template load and register function0.00020.020610.0002
states
state_id_array0.00070.070610.0007
state_identifier_array0.00070.063820.0003
Override
Cache load0.00150.1447240.0001
Sytem overhead
Fetch class attribute can translate value0.00080.079930.0003
Fetch class attribute name0.00170.161730.0006
XML
Image XML parsing0.00040.038330.0001
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00090.0842100.0001
String conversion0.00000.000740.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
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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs