Skip to content

Magento 2 Admin "Add New Customer" Throws 404 Error on PHP 8.4 #39973

Closed
@ananthu-ganesh

Description

@ananthu-ganesh

Preconditions and environment

When clicking "Add New Customer" in the Magento 2 admin panel, the system redirects to an incorrect URL and results in a 404 Error. This only happens under PHP 8.4. The customer list page works fine; the issue arises only during the account creation process in the backend.

Preconditions

Magento version: 2.4.8
PHP version: 8.4
Web server: Apache/Nginx
Browser: Any

Steps to reproduce

  1. Login to the Magento Admin.
  2. Navigate to Customers > All Customers.
  3. Click on "Add New Customer".

Expected result

Should navigate to the customer creation form.

Image

Actual result

Redirects to a malformed URL and shows a 404 Error

Image

Additional information

Issue is not reproducible under PHP 8.3

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Labels

Issue: needs updateAdditional information is require, waiting for responseReported on 2.4.8Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions