Parse error: syntax error, unexpected '[' in tagdiv-wp-booster-functions.php

Posted in: Newspaper
Post count: 1

Hi, I have installed the theme, when I try to see the preview in real time I have the following error:

Parse error: syntax error, unexpected ‘[‘ in /web/htdocs/www.gazzettinodelgolfo.it/home/wp-content/themes/Newspaper/includes/wp-booster/tagdiv-wp-booster-functions.php on line 240

I opened the file .php but it all seems correct:

if ( false !== $response ) {
$zip_resources = json_decode( $response, true );
$latest_version = [];
$versions = [];

Could you help me, please?

Thanks Antonio

Post count: 35449

Hi,

Make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv plugins, also if you are using child theme, cache plugin or CDN, deactivate them, clear all cache and try again.
If there is still a problem, deactivate and delete tagDiv plugins and reinstall them from here -> https://i.imgur.com/WcraArG.png

Let me know the results!
Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.