A shot in th dark here:
When I run the shuffle.php, in PHP ver 7.4, I get this error:
Parse error: syntax error, unexpected '?' in /home/xxxxx/domains/xxxxxxx.com/public_html/tgpx/includes/common.php on line 2152
line 2152 - $results['preview'] = $parser->images[array_rand($parser->images ?? [null])]['full'];
I found this: If you are trying to use the null coalescing operator ?? in a version of PHP prior to PHP 7 you will get this error.
Is there a fix with this very limited info?
|