-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emptying a theme's welcome message throws an error. #37748
Comments
Hi @Hexmage. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
@magento give me 2.4-6-p1 instance |
Hi @koushikch7. Thank you for your request. I'm working on Magento instance for you. |
Hi @koushikch7, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
@magento give me 2.4-develop instance |
Hi @koushikch7. Thank you for your request. I'm working on Magento instance for you. |
Hi @koushikch7, here is your Magento Instance: https://26d5f2c08590d6d50ac3452dd16071f7.instances-prod.magento-community.engineering |
Hi @Hexmage, Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots. Steps to reproduce
There is no welcome message while visiting the frontend for the default store view. Kindly recheck the behaviour on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible. Thanks. |
@engcom-Bravo |
Hi @Hexmage, I thinks the issue is probably related to this with PHP 8.2 depricating the null being changed to an empty string. |
@Hexmage We are having the same issue today on a Magento cloud instance running php 8.1.x but with the following patch it seems to be fine.
|
@dmanners
Think I would have fixed it like this. |
@Hexmage yeah that looks like a nice clean solution. My main thought was if I already know it is an empty string do I really need/want to run it through the escaper and the translation class. |
Hi @Hexmage, Thanks for your update. Verified the issue on Magento 2.4-develop instance with php 8.2 and the issue is not reproducible.Kindly refer the screenshots. Steps to reproduce
There is no welcome message while visiting the frontend for the default store view.Please let us know still if we are missing. Kindly recheck the behaviour on Magento 2.4-develop instance and elaborate steps to reproduce if the issue is still reproducible. Thanks. |
This sounds like a duplicate of #37208 Fix might be this one: #37208 (comment) and is already included in Magento 2.4.7-beta1 |
@hostep Thanks for your contribution & collaboration over here. @Hexmage Thanks. |
Must have missed that issue when I searched for "welcome" (probably because I only searched through open issues). I'll close this now as it looks like its already fixed. |
Preconditions and environment
Steps to reproduce
Expected result
No Welcome message is shown when you visit the homepage.
Actual result
Additional information
Looks like strict typing is throwing an error here.
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: