Class 'RulesUIController' not found

Created on 22 December 2010, about 14 years ago
Updated 30 December 2024, 2 months ago

Hi Fago,
sorry to report bugs so close to Christmas, but the entity dev version makes my site pretty useless throwing errors like this one;
Fatal error: Class 'RulesUIController' not found in ...\sites\all\modules\entity\entity.module on line 616
It happens when I try to do an action, i.e. enable a theme, add a field to a content type and so on.
Does anyone have an idea about why this is happening ( except for what the error actually reports... ).

-j

🐛 Bug report
Status

Fixed

Version

2.0

Component

Rules Core

Created by

🇳🇴Norway rakke

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇦🇴Angola sebastiaodomingos Belgium

    I had the same issue, my drupal version is still old, just in case runs into it as well, here is my solution:

    +++ b/sites/all/modules/rules/rules.module      Mon Dec 30 20:01:54 2024 +0000
    @@ -9,7 +9,10 @@
     if (!drupal_autoload_class('RulesEventHandlerEntityBundle')) {
       require_once dirname(__FILE__) . '/includes/rules.event.inc';
     }
    -
    +// The class autoloader may fail for classes added in 7.x-2.4 (Issue 2090511).
    +if (!drupal_autoload_class('RulesUIController')) {
    +  require_once dirname(__FILE__) . '/ui/ui.controller.inc';
    +}
    
Production build 0.71.5 2024