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

Deprecation notice in php8.1 #606

Open
benerd opened this issue Jul 31, 2023 · 4 comments
Open

Deprecation notice in php8.1 #606

benerd opened this issue Jul 31, 2023 · 4 comments

Comments

@benerd
Copy link

benerd commented Jul 31, 2023

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:63

which is coming from solarium plugin, could you please update the solarium composer package to resolve this.

Thanks :)

@ecaron
Copy link

ecaron commented Sep 8, 2023

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.

@junaidbhura
Copy link

@pwtyler do you have an update here? Pantheon now starts at PHP 8.2 by default?

@scottbuscemi
Copy link
Contributor

@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.

@junaidbhura
Copy link

junaidbhura commented Aug 4, 2024

@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?

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