Typekit: Plugin could not be activated because it triggered a fatal error

Hi there. I have been trying to activate Typekit, but keep getting this message:
Parse error: syntax error, unexpected ‘[’ in /home/piratesp/public_html/wp-content/plugins/tco-typekit/tco-typekit.php on line 225

I’m not sure why this is happening, as I’ve activated on another site.

Hi @BurntMatch,

Thanks for writing in.

Please check your X theme and Cornerstone plugin if it is using the latest version.

Can you also please check what version of PHP you’re using? Try upgrading PHP version to 5.6+ or 7.0.

Let us know how it goes.

Thanks. :slight_smile: