User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Alternative solution to PR #37324 . I think we should not pass a null or empty value to $lang->hasKey method.
See message
Deprecated: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in /libraries/src/Language/Language.php on line 1181
No deprecated message anymore.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_plugins |
@joomdonation can you please close this one and test #37324? Thanks.
@laoneo As mentioned, it's alternative to your PR and I think it is better fix. Someone mentioned that we should not pass a null (or empty string) to $lang->hasKey method, I agree and that's the reason I made this PR. I will leave the PR here to get feedback from others to see what's the preferred way to solve the issue.
Someone mentioned that we should not pass a null (or empty string) to $lang->hasKey method, I agree and that's the reason I made this PR.
https://github.com/joomla/joomla-cms/pull/36355/files#r784864983
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-03-24 21:33:17 |
Closed_By | ⇒ | bembelimen | |
Labels |
Added:
?
?
PHP 8.x
|
Thx
This is a duplicate of #37324 as it will be fixed there as well.