-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Area: AccountIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Description
This issue is automatically created based on existing pull request: #35442: fix: customer account create page does not work
Description (*)
Fixes this exception which made the create account page unusable:
Exception: Deprecated Functionality: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vendor/magento/module-customer/Block/Widget/Name.php on line 110 in /var/www/vendor/magento/framework/App/ErrorHandler.php:61
Reproduction Steps
This is very easily reproducible by:
- Setting up a clean Magento 2.4.4
- In the backoffice, going to Stores > Configuration > Customers > Customer Configuration > Name and Address Options
- Configuring the following 2 fields:
- Show Prefix: Optional
- Prefix Dropdown Options: Mr;Mrs
- In frontend, going to the create account page
- You immediately get the error as mentioned in the opening post.
Related Pull Requests
Fixed Issues (if relevant)
none.
Manual testing scenarios (*)
- Open the create account page
- It should work properly
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
Area: AccountIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Type
Projects
Status
Done