-
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
Error 500 when design/header/welcome
is null
#37208
Comments
Hi @gorghoa. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
@magento give me 2.4-develop instance |
Hi @gorghoa. Thank you for your request. I'm working on Magento instance for you. |
Hi @gorghoa, unfortunately there is no ability to deploy Magento instance at the moment. Please try again later. |
Hi @engcom-Dash. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
@magento give me 2.4-develop instance |
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Dash, here is your Magento Instance: https://03898762af3cf076d96b210ac1925744.instances-prod.magento-community.engineering |
Hi @gorghoa , Issue confirmed ! Verified the issue in 2.4.6 Instance and 2.4-Develop instance.The issue is reproducible in 2.4.6,But not reproducible in 2.4-develop instance. We can reproduce the issue in 2.4.6 Magento instance,Hence we are confirming the issue. Preconditions: 1.The issue is not reproducible with 2.4-develop instance Kindly refer the below screenshots: Steps to reproduce:
In 2.4-develop instance when we are accessing the front end url with default welcome Message as null,its working without any issue,Without welcome msg front end running properly.So the issue is not reproducible in 2.4-develop. 2.But The issue is reproducible in 2.4.6 Kindly refer the below screenshots: Steps to reproduce:
When we accessing the front with default welcome message as null,Its showing error with exception as per actual result and this is reproducible in 2.4.6 magento instance,Hence we are confirming the issue. Regards, |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-8282 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Dash. Thank you for verifying the issue. |
@magento give me 2.4-develop instance |
Hi @slavvka. Thank you for your request. I'm working on Magento instance for you. |
Hi @slavvka, here is your Magento Instance: https://03898762af3cf076d96b210ac1925744.instances-prod.magento-community.engineering |
@magento I am working on this |
I used your commit earlier to apply the fix, which worked well. Thanks. |
Hi @chrisbadley! 👋 |
I've created a pull request to solve this issue and it was approved yesterday.
Document on how to apply a composer patch:
Pull request: #37222 |
Thank you to everyone involved :) |
Issue is closed as it is not reproducible on latest 2.4-develop |
Good catch @hostep . Thanks. I'll close my PR. Although the purpose of that commit (4b5c1dc) was to fix the welcome message containing single quote character, it also inadvertently solved this issue since |
This appears to be still an issue for me when I've upgrade it to 2.4.6-p4 |
That's correct, the fix will be included in 2.4.7 (to be released in about 2 weeks) |
Preconditions and environment
Steps to reproduce
design/header/welcome
is nullExpected result
Actual result
Error 500, with exception when accessing the frontend:
TypeError: addslashes(): Argument #1 ($string) must be of type string, null given in /var/www/html/app/vendor/magento/framework/Escaper.php:440
Log details
WORKAROUND
If anyone stumbles upon the same issue : Set a value to the field in
Content
>Configuration
> pick your scope >Header welcome text
and you are good to go.Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: