Incompatible with PHP 8.2+

Created on 28 February 2025, about 1 month ago

Using PHP versions 8.2 and later, the module causes an error:
Uncaught PHP Exception TypeError: "Drupal\googlereviews\GetGoogleData::getGoogleReviews(): Return value must be of type array, none returned" at \web\modules\contrib\googlereviews\src\GetGoogleData.php line 172

Solution:
add " return [];" on line 170

I will make a patch later

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024