-
Notifications
You must be signed in to change notification settings - Fork 62
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
Deprecation notice in php8.1 #606
Comments
In case the research of Solarium's support helps @pwtyler decide how to tackle this:
I'm hoping that since Terminus requires 7.4 or greater and Pantheon's the core guide recommends at least 8.0, cutting a major release to 3.0.0 that drops support for <7.3 would be considered. |
@pwtyler do you have an update here? Pantheon now starts at PHP 8.2 by default? |
@junaidbhura Hi! We don't have an update on this currently. If you're using the Solr Power plugin with your WordPress site, we recommend sticking with PHP 8.1 for now. |
@scottbuscemi This happens with PHP 8.1 as well! The deprecation notice was added starting 8.1. Since PHP 8.0 has now reached end of life, this should be picked up as soon as possible! https://www.php.net/supported-versions.php Surely you wouldn't suggest downgrading to 8.0? |
Hi,
I am getting deprecation notices after updating to php8.1
http_build_query(): Passing null to parameter #2 ($numeric_prefix) of type string is deprecated
location->wp-content/plugins/solr-power/vendor/solarium/solarium/src/Component/RequestBuilder/RequestParamsTrait.php:153
and
Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated
location -> wp-content/plugins/solr-power/vendor/solarium/solarium/src/Exception/HttpException.php:63which is coming from
solarium
plugin, could you please update thesolarium
composer package to resolve this.Thanks :)
The text was updated successfully, but these errors were encountered: