-
Notifications
You must be signed in to change notification settings - Fork 323
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
TypeError: Memcached::setMulti() #509
Comments
Can you provide a simple script to reproduce ? |
And also confirm PHP and extension versions used |
Waiting for the release, not RC. Some sources do not compile it. |
GA won't happen if nobody check the RC :p |
If you copy the next example from https://www.php.net/manual/es/memcached.setmulti.php
You will get the error "PHP Fatal error: Uncaught TypeError: Memcached::setMulti(): Argument #2 ($expiration) must be of type int, int given" only in php8.1, but not in php8.0. The Error " must be of type int, int given" is a bit confusing. |
Sorry, cannot reproduce (using 3.2.0) |
I am getting this issue on 3.2.0 on Ubuntu 22.04 with PHP 8.1 when trying to upgrade MediaWiki 1.38 (Ubuntu 20.04) to 1.39.
|
If php 8.1.13 i'm getting the next confusing error:
TypeError: Memcached::setMulti(): Argument #2 ($expiration) must be of type int, int given
This error does not happen in PHP 8.0
The text was updated successfully, but these errors were encountered: