Title: gutenberg-block/ctl-block.php syntax error
Last modified: February 20, 2019

---

# gutenberg-block/ctl-block.php syntax error

 *  Resolved [skcombs](https://wordpress.org/support/users/skcombs/)
 * (@skcombs)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/gutenberg-block-ctl-block-php-syntax-error/)
 * THis just started to occur:
    Parse error: syntax error, unexpected ‘[‘ in /home/
   tbforg/public_html/wp-content/plugins/cool-timeline/includes/gutenberg-block/
   ctl-block.php on line 14
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgutenberg-block-ctl-block-php-syntax-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [baljitdhanjal](https://wordpress.org/support/users/baljitdhanjal/)
 * (@baljitdhanjal)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/gutenberg-block-ctl-block-php-syntax-error/#post-11229643)
 * Hi [@skcombs](https://wordpress.org/support/users/skcombs/),
 * There is no such error in our plugin.
    This problem has only occured at your 
   end. Please delete your installed plugin(**Cool Timeline**) and download(from
   wordpress.org) and install it once again.
 * Thanks
 *  Thread Starter [skcombs](https://wordpress.org/support/users/skcombs/)
 * (@skcombs)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/gutenberg-block-ctl-block-php-syntax-error/#post-11232174)
 * 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?
 *  Plugin Author [CoolHappy](https://wordpress.org/support/users/narinder-singh/)
 * (@narinder-singh)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/gutenberg-block-ctl-block-php-syntax-error/#post-11235396)
 * Hi [@skcombs](https://wordpress.org/support/users/skcombs/)
    Thanks for spotting
   an error. I have fixed this bug and released version 1.6.2. Please update your
   active plugin version. Thanks again for your efforts.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘gutenberg-block/ctl-block.php syntax error’ is closed to new replies.

 * ![](https://ps.w.org/cool-timeline/assets/icon-256x256.gif?rev=3365763)
 * [Cool Timeline (Horizontal & Vertical Timeline)](https://wordpress.org/plugins/cool-timeline/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cool-timeline/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cool-timeline/)
 * [Active Topics](https://wordpress.org/support/plugin/cool-timeline/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cool-timeline/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cool-timeline/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [CoolHappy](https://wordpress.org/support/users/narinder-singh/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/gutenberg-block-ctl-block-php-syntax-error/#post-11235396)
 * Status: resolved