Under Construction Plugin (Parse error: syntax error, unexpect)

Every time that a try to activate the plugin.

Hey @jnrlacerda,

Can you give a try be deleting and re installing fresh copy of the same plugin?

Regards

Same problem here, even after updating plugin from 2.0.0 to 2.0.1 and than after reinstalling.

Parse error: syntax error, unexpected '[' in (...) plugins/tco-under-construction/tco-under-construction.php on line 115

I found the error. Update you PHP version of your host.

Update to PHP 7.X

1 Like

Glad you found the error :slight_smile:

Cheers!

Thank you! Updating it to PHP 7 fixed everything.

Glad it fixed the issue.

Cheers!