Skip to content
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

WP Super Cache: Deprecation message since v1.10 with PHP 8.1 #32580

Closed
unitb-ore opened this issue Aug 18, 2023 · 7 comments
Closed

WP Super Cache: Deprecation message since v1.10 with PHP 8.1 #32580

unitb-ore opened this issue Aug 18, 2023 · 7 comments
Labels
[Plugin] Super Cache A fast caching plugin for WordPress. [Pri] Normal [Type] Bug When a feature is broken and / or not performing as intended

Comments

@unitb-ore
Copy link

Impacted plugin

Super Cache

Quick summary

After updating WP Super Cache from 1.9.4 to 1.10, a deprecation message is thrown using PHP 8.1:

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/wordpress/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 54

The changelog states "Fix null/false warning in PHP8.1", but prior to this update I had no issue.

Steps to reproduce

Open a page of your WordPress, when WP Super Cache 1.10 is activated, using PHP 8.1.

A clear and concise description of what you expected to happen.

No response

What actually happened

No response

Impact

All

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

@unitb-ore unitb-ore added [Type] Bug When a feature is broken and / or not performing as intended Needs triage Ticket needs to be triaged labels Aug 18, 2023
@github-actions github-actions bot added [Plugin] Super Cache A fast caching plugin for WordPress. [Pri] High [Status] Priority Review Triggered The guild in charge of triage has been notified of this issue in Slack labels Aug 18, 2023
@youbrokesomething youbrokesomething removed the Needs triage Ticket needs to be triaged label Aug 18, 2023
@youbrokesomething
Copy link

youbrokesomething commented Aug 18, 2023

A fix for this issue has been completed and will be included in v1.10.1.

@unitb-ore
Copy link
Author

A fix for this issue has been completed and will be included in v1.10.1.

When will v1.10.1 be released?

@jeherve jeherve added [Pri] Normal and removed [Pri] High [Status] Priority Review Triggered The guild in charge of triage has been notified of this issue in Slack labels Sep 18, 2023
@jeherve
Copy link
Member

jeherve commented Sep 18, 2023

cc @donnchawp

@donnchawp
Copy link
Contributor

We're aiming to get a bugfix release out this week.

@donnchawp
Copy link
Contributor

I'll need to leave this go for about 10 days. We have a meetup next week when we're going to be extra busy. If anything major breaks in a new release we may not get to fix it quickly. Better safe than sorry.

@MickaelViaud
Copy link

Hello here, any news about this update ?

@donnchawp
Copy link
Contributor

The latest release of WP Super Cache, 1.11.0, fixed this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Plugin] Super Cache A fast caching plugin for WordPress. [Pri] Normal [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

No branches or pull requests

5 participants