Module not compatible with PHP 8

Created on 23 May 2022, over 2 years ago
Updated 21 April 2023, over 1 year ago

I tried this module using PHP 7.4, than payments can be done successful.
When upgrading to PHP8, the payments don't work anymore.

When returning from the payment site (Mollie) to my own site after payment i get this error:

The website encountered an unexpected error. Please try again later.
TypeError: json_decode(): Argument #1 ($json) must be of type string, stdClass given in json_decode() (line 26 of core/lib/Drupal/Component/Serialization/Json.php).

The order doesn't get completed by this error.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇧🇪Belgium timbraeckman

Live updates comments and jobs are added and updated live.
  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024