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
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 3487459-4.patch | 948 bytes | norman.lol |
Issue fork autosave_form-3487459
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
Comment #3
chr.fritschComment #4
clarkssquared commentedHi 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.
Comment #5
norman.lolRTBC++
Comment #7
hchonovMerged. Thank you!
Comment #8
hchonov