View Single Post
Old 05-09-2021, 08:35 AM  
ruff
I have a plan B
 
ruff's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Seattle - Miami - St Kitts
Posts: 5,501
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?
__________________
CryptoFeeds
ruff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote