Support » Plugin: Google Tag Manager for WordPress » Syntax error on update of plugin

  • Resolved David Wolfpaw

    (@davidjlaietta)


    After updating the plugin this morning, my site was unable to load, with the following error displayed:

    Parse error: syntax error, unexpected ‘[‘ in /home/public_html/wp-content/plugins/duracelltomi-google-tag-manager/public/frontend.php on line 24

    I’ve disabled the plugin for now. Should $headers be declared as an array first instead of $headers = [];?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Syntax error on update of plugin’ is closed to new replies.