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

V 2.9 - Deprecated function : implode() in PHP 7.4 #507

Closed
Bessonweb opened this issue Jun 24, 2020 · 3 comments
Closed

V 2.9 - Deprecated function : implode() in PHP 7.4 #507

Bessonweb opened this issue Jun 24, 2020 · 3 comments
Assignees
Labels
V2 V2 Client

Comments

@Bessonweb
Copy link

We have a Drupal 7 (7.72) website with the Recurly module (7.x-3.0) and this Recurly library (2.9.0).

The module don't work with the V3 of the library.

We have migrated our server to PHP 7.4 a few days ago.

When we go to "/user/[USER ID]/subscription/invoices" we have this error :

Deprecated function : implode(): Passing glue string after array is deprecated. Swap the parameters dans Recurly_Base::_uriWithParams() (ligne 112 dans /var/www/*******/sites/all/libraries/recurly/lib/recurly/base.php).

So the invoices are not visible for our clients.

Have you a solution for this please?

Thank you!

@joannasese
Copy link
Contributor

Hi @Bessonweb. Thanks for reporting. We'll take a look and come back with a solution shortly.

@joannasese joannasese added the V2 V2 Client label Jun 25, 2020
@joannasese
Copy link
Contributor

joannasese commented Jun 25, 2020

Hello again @Bessonweb. PHP 7.4 compatibility issues were addressed in #449, which was included in the release for version 2.12.10. If you upgrade from v 2.9 to at least 2.12.10, you should no longer encounter the implode() error.

I'm going to close out this ticket. If you still encounter trouble after upgrading, please do not hesitate to report another issue.

@Bessonweb
Copy link
Author

Thanks it's work fine!

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

No branches or pull requests

2 participants