The version of PHP we are using is 7+
I deleted the Cool Timeline plugin and re-installed. Same error when I tried to activate the plugin. In the file ctl-block.php, where the syntax error occurred, I replaced the use of the shortcode “[” in wp_enqueue_script with:
array( ‘wp-i18n’, ‘wp-blocks’, ‘wp-edit-post’, ‘wp-element’, ‘wp-editor’, ‘wp-components’, ‘wp-data’, ‘wp-plugins’, ‘wp-edit-post’, ‘wp-api’ )
and the plugin could be activated. What gives?