Since updating to 1.0.3 we are seeing fatal errors when updating/creating users. (1.0.2 works fine)
We are running Drupal core 11.1.8

Exception: Serialization of 'Closure' is not allowed in serialize() 

This error only occurs when we add an image field, using the media library widget to the user. (might be other use cases, don't know)

We "fixed" the error by commenting line 59 in FormHooks.php:

        $form['actions']['resend_register_mail']['#submit'][] = [$this, 'submitForm'];

This causes the module to not work anymore though, so not an actual solution...

Related to: https://www.drupal.org/project/resend_register_mail/issues/3519847

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

weseze created an issue. See original summary.

svendecabooter made their first commit to this issue’s fork.

svendecabooter’s picture

svendecabooter’s picture

  • svendecabooter committed 90fb8996 on 1.0.x
    [#3543585] fix: Exception: Serialization of 'Closure' is not allowed in...
svendecabooter’s picture

Status: Active » Fixed

Added a fix that should address this issue.

Status: Fixed » Closed (fixed)

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