Problem/Motivation

I received this error message on Drupal log:

Error: Call to a member function getSetting() on null in Drupal\registration\HostEntity->isEnabledForRegistration() (line 445 of /var/www/html/modules/contrib/registration/src/HostEntity.php)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 registration-3371536-2.patch548 bytesjohn.oltman

Comments

beautifulmind created an issue. See original summary.

john.oltman’s picture

Version: 3.0.0-rc2 » 3.0.x-dev
StatusFileSize
new548 bytes

  • john.oltman committed e69277c2 on 3.0.x
    Issue #3371536: Prevent null pointer exception in HostEntity class.
    
john.oltman’s picture

Title: Error: Call to a member function getSetting() on null in Drupal\registration\HostEntity->isEnabledForRegistration() » Error: Call to a member function getSetting() on null in HostEntity class
Status: Active » Fixed
beautifulmind’s picture

Thank you John for this quick fix.

Best regards.

john.oltman’s picture

Happy to assist Bhavin

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.