Problem/Motivation

Since #3270955: Disable autosaving for layout builder pages was merged, we get a deprecation error on the user edit form.

Deprecated function: str_ends_with(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\autosave_form\Form\AutosaveEntityFormHandler->isAutosaveEnabled() (line 305 of modules/contrib/autosave_form/src/Form/AutosaveEntityFormHandler.php).

Steps to reproduce

Go to user/1/edit

CommentFileSizeAuthor
#5 3487459-4.patch948 bytesnorman.lol
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

chr.fritsch created an issue. See original summary.

chr.fritsch’s picture

Status: Active » Needs review
clarkssquared’s picture

Status: Needs review » Reviewed & tested by the community

Hi chr.

I applied MR !19 and I confirmed that the Deprecation error is now fixed and not displaying on /user/#/edit page

Please look at this screenshot Before and After MR I sent a monosnap link instead of uploading the screenshot file here.

norman.lol’s picture

StatusFileSize
new948 bytes

RTBC++

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

hchonov’s picture

Status: Reviewed & tested by the community » Fixed

Merged. Thank you!

hchonov’s picture

Status: Fixed » Closed (fixed)

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