Forums / Extensions / eZ Find / Php error in search after deleting some objects

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