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

Check if opcache_reset function exists #1136

Closed
felixarntz opened this issue Feb 15, 2020 · 1 comment
Closed

Check if opcache_reset function exists #1136

felixarntz opened this issue Feb 15, 2020 · 1 comment
Labels
P0 High priority Type: Bug Something isn't working
Milestone

Comments

@felixarntz
Copy link
Member

felixarntz commented Feb 15, 2020

Bug Description

The opcache_reset() function may not be present on all systems which can result in fatal errors (see https://wordpress.org/support/topic/undefined-function-opcache_reset-v1-3-0/). This is a follow-up to #1066.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • There should be a function_exists check before calling opcache_reset.

Implementation Brief

  • There should be a function_exists check before calling opcache_reset in googlesitekit_opcache_reset.

QA Brief

  • N/A

Changelog entry

  • Ensure opcache_reset() exists before calling it.
@felixarntz felixarntz added Type: Bug Something isn't working P0 High priority labels Feb 15, 2020
@felixarntz felixarntz added this to the Sprint 17 milestone Feb 15, 2020
@aaemnnosttv
Copy link
Collaborator

IB ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 High priority Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants