Page MenuHomePhabricator

default value of CookieSameSite results in deprecation warning for php 8.1
Open, Needs TriagePublicBUG REPORT

Description

I saw the following deprecation warning immediately on installed site after switching to 8.1:

Deprecated: strcasecmp(): Passing null to parameter #1 ($string1) of type string is deprecated in .../includes/session/CookieSessionProvider.php on line 99

Using REL1_38

Event Timeline

Change 787879 had a related patch set uploaded (by MarkAHershberger; author: MarkAHershberger):

[mediawiki/core@REL1_38] Avoid deprecation warnings in PHP 8.1

https://gerrit.wikimedia.org/r/787879

Change 787860 had a related patch set uploaded (by MarkAHershberger; author: MarkAHershberger):

[mediawiki/core@master] Avoid deprecation warnings in PHP 8.1

https://gerrit.wikimedia.org/r/787860

Change 787880 had a related patch set uploaded (by MarkAHershberger; author: MarkAHershberger):

[mediawiki/core@REL1_38] Address deprecations for php8.1 and REL1_38

https://gerrit.wikimedia.org/r/787880

Change 787879 abandoned by MarkAHershberger:

[mediawiki/core@REL1_38] Avoid deprecation warnings in PHP 8.1

Reason:

https://gerrit.wikimedia.org/r/787879

Change 787860 abandoned by MarkAHershberger:

[mediawiki/core@master] Avoid deprecation warnings in PHP 8.1

Reason:

https://gerrit.wikimedia.org/r/787860

Assuming this is about MediaWiki Core (please add codebase project tags if possible - thanks!).

Change 787880 abandoned by Jforrester:

[mediawiki/core@REL1_38] Address deprecations for php8.1 and REL1_38

Reason:

https://gerrit.wikimedia.org/r/787880

Change 804691 had a related patch set uploaded (by Samwilson; author: Samwilson):

[mediawiki/core@master] Avoid passing null to strcasecmp(), for PHP 8.1

https://gerrit.wikimedia.org/r/804691

Change 804691 merged by jenkins-bot:

[mediawiki/core@master] Avoid passing null to strcasecmp(), for PHP 8.1

https://gerrit.wikimedia.org/r/804691