1
Feature Requests / Gallery Pro v8.0 and PHP 7.4
« on: January 20, 2021, 09:24:50 pm »
I'm using Gallery Pro v8.0 (I know it's not the latest version) and when I started testing it with PHP 7.4 the following error message was logged for ./Sources/Gallery2.php
php 7.4 implode(): Passing glue string after array is deprecated. Swap the parameters.
I implemented the following fix throughout the file (there are five occurrences of the following code):
Find:
Replace With:
php 7.4 implode(): Passing glue string after array is deprecated. Swap the parameters.
I implemented the following fix throughout the file (there are five occurrences of the following code):
Find:
Code: [Select]
$groupsdata = implode($user_info['groups'], ',');
Replace With:
Code: [Select]
$groupsdata = implode(',', $user_info['groups']);