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)'
see picture
I have found it already im #39960
| Labels |
Removed:
?
|
||
| Labels |
Added:
No Code Attached Yet
|
||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-11-08 07:19:40 |
| Closed_By | ⇒ | alikon |
I have the sam error,
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /libraries/vendor/joomla/application/src/Web/WebClient.php on line 286.
joomla4.4 PHP 8.2.14 template Cassiopeia. Any suggestions to solve it?
Hello I have this issue. Only at the root of my website : if I enter http://mywebsite.com I have the deprecated issue, if I enter http://mywebsite.com/index.php that's ok.
I use Cassiopea, how could I solved this trouble?
Sorry problem solved! I connected to the Joomla aministration and after a cache clearing the issue Deprecated: stripos(...) on my home page has disappeared.
Bye!
Hi,
still present under 5.1.1
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /libraries/vendor/joomla/application/src/Web/WebClient.php on line 380
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /libraries/vendor/joomla/application/src/Web/WebClient.php on line 472
PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /libraries/vendor/joomla/application/src/Web/WebClient.php on line 502
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /libraries/vendor/joomla/application/src/Web/WebClient.php on line 505
PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /libraries/vendor/joomla/application/src/Web/WebClient.php on line 545
I am also seeing the same problem in Joomla 5.1.2
My Error Log file is massive, because of this problem. It repeats over and over again...
When I posted about this problem before, someone replied and said it was probably being caused by an Extension and to just ignore it. I've turned off my Extensions on test site and cannot locate what is causing this. Is Joomla the problem?
PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /libraries/vendor/joomla/application/src/Web/WebClient.php on line 502
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /public_html/libraries/vendor/joomla/application/src/Web/WebClient.php on line 505
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /public_html/libraries/vendor/joomla/application/src/Web/WebClient.php on line 508
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /public_html/libraries/vendor/joomla/application/src/Web/WebClient.php on line 526
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /public_html/libraries/vendor/joomla/application/src/Web/WebClient.php on line 472
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /public_html/libraries/vendor/joomla/application/src/Web/WebClient.php on line 483
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /public_html/libraries/vendor/joomla/application/src/Web/WebClient.php on line 494
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /public_html/libraries/vendor/joomla/application/src/Web/WebClient.php on line 498
please test joomla-framework/application#121