Activating crm brings whitescreen and missing schema information warning at update.php

Created on 19 August 2025, 14 days ago

Problem/Motivation

After installing crm via composer I activated the module in drupal backend. It took a while then a whitescreen was shown with the message:

The website encountered an unexpected error. Try again later.
Error: Maximum call stack size of 8339456 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached. Infinite recursion? in Drupal\Core\Database\StatementWrapperIterator->setResultsetCurrentRow() (line 51 of core/lib/Drupal/Core/Database/StatementIteratorTrait.php).

Afteer that I ran /update.php and the warning message was shown:

Warning message
The database was missing schema information for the crm module. You should manually check the module updates and your database to see if any updates up to and including crm_update_8000() were skipped.

After running update.php and repeating this the warning isn't shown anymore.

Now I'm not shure if the module is installed properly. Uninstalling worked fine.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany marco.b

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

Comments & Activities

  • Issue created by @marco.b
  • πŸ‡©πŸ‡ͺGermany marco.b
  • πŸ‡ΊπŸ‡ΈUnited States jdleonard Austin, TX, USA

    Hi @marco.b!

    I failed to reproduce this on a clean install.

    I tried as follows:

    1. composer create-project drupal/recommended-project my-site && cd my-site
    2. composer config minimum-stability alpha
    3. composer require 'drupal/crm:^1.0.0-alpha5'
    4. composer require drush/drush
    5. ddev config --project-type=drupal --docroot=web --php-version=8.3
    6. ddev start
    7. ddev drush site:install -y
    8. ddev drush pm:install crm -y
    9. ddev drush user:login

    I also tried:

    1. composer create-project drupal/recommended-project my-site && cd my-site
    2. composer config minimum-stability alpha
    3. composer require 'drupal/crm:^1.0.0-alpha5'
    4. ddev config --project-type=drupal --docroot=web --php-version=8.3
    5. ddev start
    6. Ran install with Standard profile via https://my-site.ddev.site/core/install.php
    7. Enabled CRM via https://my-site.ddev.site/admin/modules

    Could you please:

    1. Try reproducing using either of the above sets of steps
    2. If that works, provide a copy of your composer.json (I suspect the issue might be caused by or related to another project) and details of your hosting environment
  • πŸ‡ΊπŸ‡ΈUnited States bluegeek9

    It reads like you upgrade between alpha releases. There are no schema updates for alpha releases. CRM as to be uninstalling be going to a new version.

  • πŸ‡©πŸ‡ͺGermany marco.b

    Thy for the replies.

    @bluegeek9

    No, I didn't upgrade between alpha releases. Just installed 'drupal/crm:^1.0@alpha'

    But I tested this with a fresh drupal installation and everything works fine. I'll check what the problem was with my first installation.

  • πŸ‡©πŸ‡ͺGermany marco.b
Production build 0.71.5 2024