After updating to 7.x-2.1, I started getting the following errors in the log, and the site eventually went catatonic...
[Wed Jan 06 17:17:14.316747 2016] [:error] [pid 24927] [client 73.68.240.48:43262] PHP Fatal error: Class 'WatchdogRulesController' not found in /home/site-cwm/drupal/sites/all/modules/entity/entity.rules.inc on line 101
I disabled the watchdog rules module via drush, and the errors went away. However, note the error that appeared when I did this:
$ drush dis better_watchdog_ui_rules
The following extensions will be disabled: better_watchdog_ui_rules
Do you really want to continue? (y/n): y
PHP Fatal error: Class name must be a valid object or a string in /home/site-cwm/drupal/sites/all/modules/better_watchdog_ui/better_watchdog_ui_rules/better_watchdog_ui_rules.rules.inc on line 63
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Class name must be a valid object or a string in
/home/site-cwm/drupal/sites/all/modules/better_watchdog_ui/better_watchdog_ui_rules/better_watchdog_ui_rules.rules.inc,
line 63
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Class-WatchdogRulesController-not-found-2645592-3.patch | 1022 bytes | c_lehel |
Comments
Comment #2
c_lehel commentedComment #3
c_lehel commentedI've added a files[]=... in the rules submodule info file and removed the module_load_include from the module file. Works now. I'll push it in the devel branch.
Comment #5
candelas commentedIt worked, thanks
Comment #6
leducdubleuet commentedThis patch works great, thank you.
Would it be possible to do a new stable release please?
Comment #8
c_lehel commentedSorry for the delay. I thought some other issues also need to fixed and was aiming for a larger fix package for the release. It wasn't the case. The release is out.
Comment #9
ywarnier commentedI think I have a similar issue with WatchdogEntity.
I get
Fatal error: Class 'WatchdogEntity' not found in [...]/sites/all/modules/better_watchdog_ui/better_watchdog_ui_rules/better_watchdog_ui_rules.module on line 20and the rest of the stack trace.Do you think this is related and I should also add better_watchdog_ui_entity.module into files[] as well?