Title: Script Block Error Message
Last modified: January 4, 2019

---

# Script Block Error Message

 *  [Gitterman](https://wordpress.org/support/users/gitterman/)
 * (@gitterman)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/script-block-error-message/)
 * I’ve successfully installed and activated Inline JS lock for Gutenberg on my 
   wordpress site and a script block is now a block option; however, when I add 
   the script block—whether to a post or a page or a custom post type—I get the 
   following error: “This block has encountered an error and cannot be viewed.” 
   Please let me know the status of this plugin and if it’s currently working or
   when it will be available. Thanks!

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

 *  [clifton11221](https://wordpress.org/support/users/clifton11221/)
 * (@clifton11221)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/script-block-error-message/#post-11314786)
 * I have this message as well.
 *  [dtamajon](https://wordpress.org/support/users/dtamajon/)
 * (@dtamajon)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/script-block-error-message/#post-11354860)
 * Same here with WordPress 5.1.1

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

The topic ‘Script Block Error Message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-js-block-for-gutenberg.svg)
 * [Inline JS Block for Gutenberg](https://wordpress.org/plugins/inline-js-block-for-gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-js-block-for-gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-js-block-for-gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-js-block-for-gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-js-block-for-gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-js-block-for-gutenberg/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 2 replies
 * 3 participants
 * Last reply from: [dtamajon](https://wordpress.org/support/users/dtamajon/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/script-block-error-message/#post-11354860)
 * Status: not resolved