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

php v8 (via docker php:fpm-alpine) failing #17

Closed
traceypooh opened this issue Feb 28, 2021 · 6 comments
Closed

php v8 (via docker php:fpm-alpine) failing #17

traceypooh opened this issue Feb 28, 2021 · 6 comments

Comments

@traceypooh
Copy link

any chance of a fix?

eg:

2021/02/28 21:37:52 [error] 13#13: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Declaration of WP_SQLite_DB\PDOEngine::query($statement, $mode = PDO::ATTR_DEFAULT_FETCH_MODE, $arg3 = null, array $ctorargs = []) must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /usr/share/nginx/html/wp-content/db.php on line 1336" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:5000"
@aaemnnosttv
Copy link
Owner

Yes, should be able to fix it soonish. Would be open to merging a PR as well if someone else can get to it before me though 👍

@peterjanes
Copy link

Looks like #16 may be sufficient?

@kk6mrp
Copy link

kk6mrp commented Sep 16, 2021

Is this working now for you since #21?

@aaemnnosttv
Copy link
Owner

Should work now @kk6mrp , can anyone confirm?

@kk6mrp
Copy link

kk6mrp commented Dec 10, 2021

@aaemnnosttv I'm using PHP 8 on Alpine Linux and do not get this error. Should be good to close the issue.

@aaemnnosttv
Copy link
Owner

Thanks @kk6mrp, we can always reopen if needed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants