-
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
Magento_Theme title.phtml template invalid for PHP 8.2 #39092
Comments
Hi @adamlavery. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
It would help if you could specify the error message you're seeing? But I guess it happens when |
@hostep sorry, didn't think a log of this error was necessary. Yes, as of PHP 8.? you can no longer pass null to most/all PHP string functions. I'm sure there must be a valid reason for this change which breaks code all over the place, although I can't see it!! |
Hi @engcom-November. Thank you for working on this issue.
|
Hello @adamlavery, Thank you for the report and collaboration! If the function |
✅ Jira issue https://jira.corp.adobe.com/browse/AC-12856 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-November. Thank you for verifying the issue. |
@magento i'm working on this |
Hi @magentoabu! 👋 |
@magento add to contributors team |
Hi @magentoabu! 👋 |
@magento I'm working on this |
Preconditions and environment
OS 2.4.7
Steps to reproduce
There's a code error in vendor\magento\module-theme\view\frontend\templates\html\title.phtml
Expected result
Should be written for PHP 8.2 but is not.
Actual result
Template crashes if there's no page title.
Additional information
This code:
Needs correcting to:
Release note
Fix code that fails with PHP 8.2
Triage and priority
The text was updated successfully, but these errors were encountered: