-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 2.4.4 shows an error, not a warning when using deprecated functionality for PHP 8.1 #35875
Comments
Hi @m2-amn. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Dash. Thank you for working on this issue.
|
Hi @engcom-Lima. Thank you for working on this issue.
|
Hi @m2-amn , Thanks for your contribution and collaboration. Kindly provide more information regarding the steps to reproduce the issue. So, that we can proceed further process. Thanks |
Hello @engcom-Lima, Thank you for your support. Here is more information about errors. An error is like below Thank you |
Hi m2-amn , I have tried to reproduce the issue but issue is not reproducible to me. Thanks |
Hello @engcom-Lima, It seems that other factors are involved, so please put this matter on hold at present. |
Can you please let us know what did you find? I'm hitting the same issue on 2.4.5: |
Hi @pmonosolo , We had the same issues. I think PHP 8 changed the default error reporting level or is not listening to the display errors setting properly. As a short term fix we modified app/bootstrap.php and changed the line: |
Hello @jasuten, Thanks for the report! Can you please help us with the reproduction steps for your case? Thanks |
Hi @engcom-Hotel. Thank you for working on this issue.
|
Thanks! I think it might be related to this: Problem is that the error is not a depreciation error - unless I'm confused. It just shows up as normal error instead of a warning. |
Hi @engcom-November. Thank you for working on this issue.
|
Hi @pmonosolo / @m2-amn |
Hi @m2-amn, |
Request for this to be re-open -Commit 4bfb545 does not fix the root cause |
Preconditions and environment
The release notes for Mangento 2.4.4 state that Magento 2.4.4 is compatible with PHP 8.1.
Steps to reproduce
Using deprecated functionality for PHP 8.1
Expected result
When using deprecated functionality for PHP 8.1, it's expected to be shown as a warning, not as an error.
It should be different from the update that doesn't have backward compatibility.
Actual result
An error occurs instead of a warning
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: