Rules incompatibility with Domain

Created on 10 April 2021, almost 4 years ago
Updated 9 February 2025, about 2 months ago

Problem/Motivation

Rules incompatibility with other modules suspected. If Rules and Domain module suite coexist, the site crashes on some pages, specifically on user profile view or edit pages. If you attempt to login, this condition occurs, but the login actually happens.
The errors displayed on the screen are of this kind:
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in C:\Users\xxx\Sites\acquia\sitename\web\core\lib\Drupal\Core\Routing\CompiledRoute.php on line 162 (although the memory limit had been increased dramatically)
No error logged in dblog.
If either Rules or Domain Source module is uninstalled the error is no more.

I am not sure which module causes the issue, Rules or Domain. Opening it here hoping for expert assignment.

Steps to reproduce

  1. In acquia desktop, create composer project, install drupal, then setup the site.
  2. Enable a few core modules: Layout builder, Languages in particular
  3. Install Rules
  4. Modify hosts file to point mobile.sitename.dd to the same ip address as sitename.dd
  5. Modify vhosts.conf to add mobile.sitename.dd to Apache vhosts
  6. Configure trusted hosts in settings.php
  7. Install Domain suite modules one by one, test view profile page. After installing Domain source submodule, the site will crash as described.
  8. Uninstall either one module - no error, the site functions.
  9. Reinstall the module - crash.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: duplicate

Version

3.0

Component

Rules Core

Created by

πŸ‡ΊπŸ‡ΈUnited States eugeneak

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.

Production build 0.71.5 2024