This article provides a solution for the issue when all error messages on the storefront display with a "+" sign instead of a space. This solution helps error messages remain readable.
Affected products and versions
- Magento Commerce Cloud 2.4.1. * Magento Commerce 2.4.1. ## Issue
Steps to reproduce:
- Go to Create New Account page on the storefront.
- Create a new account using a registered email. The following message is displayed:
The issue is caused by a PHP 7.4.2 issue related to set\read cookies. See PHP BUG #79174 setcookie() encodes space as `+`, but $_COOKIE no longer decodes them .
To solve this issue, use another version of PHP 7.4.x. PHP 7.4.2 is not supported by Magento 2.4.1. ## Related reading