Fixing the Drupal Login WSOD Caused by Captcha and Spam Modules

Drupal Commerce Streamlines Payment Setup with New Stripe Connect Integration

A white screen after login—a classic WSOD—hit a Drupal 9 site recently after updates to the Captcha, Image Captcha, and Spam Master modules. iBuild.PH documented their fix, which could help others facing the same issue across Drupal versions.

The issue was resolved by uninstalling the problematic modules using Composer and Drush: composer remove drupal/captcha drupal/image_captcha drupal/spam_master followed by drush pm:uninstall captcha image_captcha spam_master -y. Once disabled, clearing the cache with drush cr brought the login functionality back.

Optionally, they suggest truncating the flood table (drush sqlq "TRUNCATE flood;") if failed login attempts or IP blocks might be involved. The team also recommends incremental updates to core and contrib modules to prevent compatibility issues.

While this occurred on Drupal 9.x, iBuild.PH notes the same resolution steps apply to Drupal 10 and 11 where login-disrupting spam modules are involved.

 

Disclosure: This content is produced with the assistance of AI.

Disclaimer: The opinions expressed in this story do not necessarily represent that of TheDropTimes. We regularly share third-party blog posts that feature Drupal in good faith. TDT recommends Reader's discretion while consuming such content, as the veracity/authenticity of the story depends on the blogger and their motives. 

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please reach out to us at #thedroptimes channel on Drupal Slack and we will try to address the issue as best we can.

Related Organizations

Upcoming Events

Latest Opportunities