Parse error: syntax error, unexpected ‘[‘
-
Everything is up to date. WP 4.7.5; all plugins and themes up to date.
Just after installing, I get the following error:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘[‘ in /public_html/wp-content/plugins/wp-google-analytics-events/includes/functions.php on line 158Sure enough, when I look at line 158, I see this:
$extracted = [
The plugin will not activate, so is currently not usable.
The rest of the site seems unaffected (since it won’t activate with the error).
Any ideas?
Thanks
Tim
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Parse error: syntax error, unexpected ‘[‘’ is closed to new replies.