Registration form, registration type and registration link not appearing for anonymous user

Created on 17 March 2025, 20 days ago

Problem/Motivation

The registration field and the link (per display settings) does not appear for anonymous users. How do I fix this? I have now allowed all permissions for guest for registrations, more than desired. But it doesn't matter which format I choose (registration form, registration link, registration type), I only see the registration if I am a logged in user. But then always only as a registration type, not as a link or embedded.

Steps to reproduce

  • composer require 'drupal/registration:^3.4'
  • drush pm:enable registration
  • under /admin/people/permissions/module/registration all checkboxes for Guest are set (only for tests)
  • under /admin/structure/registration-types/ a registration type "Workshop" with five fields created
  • in content type event a new field registration from field type registration added
  • in content type event set "registration type" under manage display
  • Proposed resolution

    Remaining tasks

    User interface changes

    API changes

    Data model changes

πŸ’¬ Support request
Status

Active

Version

3.4

Component

Registration Core

Created by

πŸ‡©πŸ‡ͺGermany engelmania

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

Comments & Activities

  • Issue created by @engelmania
  • πŸ‡ΊπŸ‡ΈUnited States john.oltman

    I am guessing this is something specific to your site and installed modules. Do you have the Field Permissions module installed by chance? Can an anonymous user get directly to /node//register?

  • πŸ‡©πŸ‡ͺGermany engelmania

    Das Modul Field Permissions habe ich nicht installiert. Yes, an anonymous user can get directly to /node//register. It's just completely unformatted. But it allowed me to register as an anonymous user. Yeah! :-)

  • πŸ‡©πŸ‡ͺGermany engelmania

    I don't have the Field Permissions module installed. Yes, if I enter as anonymous user /node/<node#>/register I see an unformatted registration field and can register. Yeah! :-)

  • πŸ‡ΊπŸ‡ΈUnited States john.oltman

    Is this a fresh install, or you are upgrading an existing install of the module?

    Any other contributed modules enabled besides registration? If yes, disable those one by one and see if it makes a difference.

    Another option is to install 3.3.1 and see if that works for you.

    Worst case I may need a dump of your site to debug it - but let's cross that bridge later if we need to.

  • πŸ‡©πŸ‡ͺGermany engelmania

    It's a fresh install at a test deployment. I had already tried the older version before this one came out. I was hoping the new version would fix the bug.

  • πŸ‡ΊπŸ‡ΈUnited States john.oltman

    This turned out to be an issue in the custom theme that the OP was using.

Production build 0.71.5 2024