Posted by jim_at_miramontes on November 6, 2012 at 4:03pm
Every so often, one of my sites' cron jobs will throw the error:
Fatal error: Cannot redeclare class QueryConditionInterface in /var/www/html/example/includes/database/query.inc on line 16
This happens seemingly at random -- sometimes once or twice a day, sometimes not at all. (The cron job runs every five minutes.) I have several D7 sites running on the same server, and this is the only one that does it.
Any thoughts about this out there? The site doesn't seem to be impaired by the error, but I'd feel better if if it weren't happening. Thanks!
Comments
Same error
Hello Jim,
Did you solved the problem?
I have the same message :
Fatal error: Cannot redeclare class QueryConditionInterface in /home/www/domain/includes/database/query.inc on line 16
I also upgrade the version of drupal 7.16-> 7.17 last week.
Originally it was a multisite installation, but after I met this error, I reconfigured it on single site installation. but the error is still there
Did you find a solution?
William
No, no luck so far. It
No, no luck so far. It continues to happen on a random and occasional basis -- maybe once or twice a day.
I'm not sure that will help
I'm not sure that will help you...
But at the same time, I had another smaller bug on the /taxonomy/term/all page views :
EntityMalformedException: Missing bundle property on entity of type taxonomy_term. in entity_extract_ids() (line 7562 of /var/www/domain/includes/common.inc).
So, I decided to restore the database on this site.
The correct version was more than 15 days, when I updated the module entityreference (7.x-1.0-rc3 to 7.x-1.0-rc4).
And I don't know the good way to safely downgrade only this modules. It could confirm that this module is causing my error.
Sorry if my problem does not solve yours.
Perhaps an idea for solving your bug
Hello Jim,
I solved my problem by comparing the structure of my server.
In fact, when I updated Durpal core, a folder has been moved by mistake in the wrong place in the include directory.
I have restored order in the directories and everything came back.
Interesting -- thanks much!
Interesting -- thanks much! (Yeah, it's probably something stupid that I did somewhere along the lines.) I need to do an update on that site anyway; I'll see if it goes away.