Error: Class 'RulesEventHandlerEntityBundle' not found in /sites/all/modules/contrib/rules/modules/node.rules.inc,
line 135
Here is the history of my Rules installation:
Upgraded from Drupal 6 to 7. I am currently using Drupal Commerce and Field Collections. I have a couple of rules that creates a product from a node with data attached it via a Field Collection, in addition to the standard Drupal Commerce Rules.
I received this error
Error: Class 'RulesEventHandlerEntityBundle' not found in /sites/all/modules/contrib/rules/modules/node.rules.inc,
line 135as soon as I copied the Development Release to my Modules directory... (Didn't have the option to even update the data base because the entire site would display this error. I have since removed the Development Version and have restored the latest stable release.
Comments
Comment #1
klokie commentedI'm also seeing this; looks like a duplicate of #2048003: Fatal error: Class 'RulesEventHandlerEntityBundle' not found.
Comment #2
csmcreative commentedCheck out this article and scroll down until you see the bash script. When you start messing with modules, updating, etc your permissions get messed up. Run this and I guarantee it will settle your issues. https://drupal.org/node/244924
If you don't have access to the root on your server, I'm sure there is another way. For me, permissions and Drupal can be a real headache. Check it out though. I use this daily.
-Chris
Comment #3
brad.bulger commentedhow would file permissions be relevant to this error at all?
Comment #4
rbrownellI unfortunately don't have root access. I read elsewhere (#1962020: Integrity constraint violation: 1062 Duplicate entry 'rules_empty_sets' for key 'PRIMARY') that one should run update.php and clear the cache... Little help that is considering how I can't! I will try to disable the module. Copy the files and then run update.php and clear the cache and then enable the module and see what happens.
Comment #5
BOGUƎ commentedJust ran into the same problem here, running update.php did the trick for me.
You shouldn't need root access to the filesystem for that: just go to http://[your_site]/.update.php . If you can't log in, try temporarily disabling access control by setting $update_free_access to TRUE in /sites/default/settings.php (don't forget to set it back to FALSE when you're done!).
Comment #6
sjhuskey commentedAgreeing with #5. Running update.php fixed the issue.
Comment #7
rbrownellComment #8
mikebrooks commentedNot able to log in as user1 in order to run update.php, I was able to resolve the problem by running the drush updatedb command via an SSH session.
Comment #9
camerongreen commentedSee here for fix that worked for me:
https://drupal.org/node/2090511
Comment #10
krutibhakta commentedThe following should solve any troubles using drush:
Comment #11
caiosba commented#10 worked for me too.
Comment #12
spideep commented#5 solved my problem
Comment #13
fonski commented#10 did the work. Thanks
Comment #14
grincon commented+1 for #10