Skip to content

Issue Deprecated: stripos() in WebClient.php for ever? #42317

@Chessy65

Description

@Chessy65

Steps to reproduce the issue

If you access from a joomla system to another joomla on which is Joomla 4.4 and PHP8.1 or higher an dthe WebClient.php is needed,
then you receive 9 !! error lines with following text:

Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in ../libraries/vendor/joomla/application/src/Web/WebClient.php

This issue is for a long time and should be solved, but it is missing in the actual fork. Why?

You need insert only '(string)'

Expected result

see picture

Actual result

System information (as much as possible)

Additional comments

I have found it already im #39960screen shot 2023-11-07 at 17 57 48

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions