-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
PHP 8.2 Legacy Error in WebClient.php not solved by #42830 #43334
Labels
Comments
please check joomla-framework/application#124 |
Please test joomla-framework/application#131 |
Closing as having a pull request. Please test #44585 . Thanks in advance. |
Merged
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce the issue
View PHP Error log for Joomla site with PHP 8.2.X.
Look for warnings "stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated ..."
Expected result
No warnings regarding "stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated ..." anymore.
Actual result
#42830 has fixed this warning only in the function
detectBrowser()
, but the same warning (with the same reason) is produced by the functionsdetectEngine()
anddetectPlatform()
.Additionally, the function
detectRobot()
does as well not test if the user agent isnull
.The text was updated successfully, but these errors were encountered: