Php error in search after deleting some objects

Author Message

Carlos Revillo

Wednesday 21 October 2009 8:51:08 am

hi. we have a database with about 160.000 objects right now.
we have deleted some of them (from a certain class) and import some new contents of the same class.

now, when we do a search through admin and select this class as filter, we get this error

Fatal error: Call to a member function attribute() on a non-object in /var/www/kernel/classes/ezcontentobjecttreenode.php on line 5683
Fatal error: eZ Publish did not finish its request

this is ez 4.2. is there anyway to avoid this without reindexing and maybe clean everything?

Paul Borgermans

Thursday 22 October 2009 3:16:50 pm

Hi Carlos

I used to have a script that reindexes with filters on classes and a from a certain parent node id

Would that be an option in your case? If so I'll try to digg it up and/or add it to eZ Find

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jim Thaxton

Tuesday 03 November 2009 3:56:15 pm

We are experiencing the same issue. Paul, can you add your script to the forum since it might help? We have the same issue, deleting content and importing updated content at a future date. Re-indexing Solr does not solve the problem.

Web Developer
Coupon Cabin
Chicago, IL

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 05:10:37
Script start
Timing: Jan 18 2025 05:10:37
Module start 'layout'
Timing: Jan 18 2025 05:10:37
Module start 'content'
Timing: Jan 18 2025 05:10:37
Module end 'content'
Timing: Jan 18 2025 05:10:37
Script end

Main resources:

Total runtime0.0191 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.3047152.6563
Module start 'layout' 0.00680.0055 741.960939.5078
Module start 'content' 0.01230.0048 781.468890.5703
Module end 'content' 0.01710.0020 872.039134.3047
Script end 0.0191  906.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003015.7962140.0002
Check MTime0.00147.4415140.0001
Mysql Total
Database connection0.00094.791610.0009
Mysqli_queries0.005025.882730.0017
Looping result0.00000.162010.0000
Template Total0.00178.710.0017
Template load0.00094.693110.0009
Template processing0.00084.002910.0008
Override
Cache load0.00073.428610.0007
General
dbfile0.00031.401680.0000
String conversion0.00000.068540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs