10.2.x > 10.3 > 10.3.1 Rules broken, fix does not work

Created on 5 August 2024, 4 months ago
Updated 10 August 2024, 3 months ago

Problem/Motivation

I have run into issue with Rules after going from 10.2.x to 10.3. There is this issue, but the provided fix does not resolve my issue. Now my multisite environment has 1 site in limbo state for which I can't access the admin pages anymore. I have yet to find a way to work around this issue. Disabling Rules does not help me either. Updat.php states no changes need to be made.

The website encountered an unexpected error. Try again later.

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "request_path" plugin does not exist. Valid plugin IDs for Drupal\rules\Core\ConditionManager are: rules_node_is_of_type, rules_entity_field_access, rules_user_is_blocked, rules_list_contains, rules_text_comparison, rules_data_is_empty, rules_data_comparison, rules_entity_is_of_type, rules_path_has_alias, rules_node_is_sticky, rules_user_has_role, rules_node_is_published, rules_node_is_promoted, rules_entity_has_field, rules_path_alias_exists, rules_entity_is_new, rules_list_count_is, rules_entity_is_of_bundle in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

I use composer to update Drupal and always update with composer update "drupal/core-*" --with-all-dependencies

Steps to reproduce

Upgrade 10.2.x to 10.3 and then to 10.3.1

πŸ’¬ Support request
Status

Closed: works as designed

Version

4.0

Component

Rules Core

Created by

πŸ‡¨πŸ‡¦Canada tneo

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

Comments & Activities

  • Issue created by @tneo
  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

    It sounds like you still have Rules 8.x-3.x installed. You need Rules 4.0.x

  • Status changed to Postponed: needs info 4 months ago
  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia
  • πŸ‡¨πŸ‡¦Canada tneo

    I have added the rules 4 module to the composer.json file. After that I executed the update all command.

    cat modules/contrib/rules/rules.info.yml 
    name: Rules
    type: module
    description: 'React on events and conditionally evaluate actions.'
    package: Rules
    core_version_requirement: ^10.3 || ^11
    dependencies:
      - drupal:config
      - typed_data:typed_data
    
    configure: entity.rules_reaction_rule.collection
    
    # Information added by Drupal.org packaging script on 2024-07-25
    version: '4.0.0'
    project: 'rules'
    datestamp: 1721935275
  • Status changed to Closed: works as designed 3 months ago
  • πŸ‡ΊπŸ‡ΈUnited States tr Cascadia
Production build 0.71.5 2024