sheadawson / silverstripe-shortcodable

Provides a GUI for CMS users to insert Shortcodes into the HTMLEditorField + an API for developers to define Shortcodable DataObjects and Views.
MIT License
48 stars 36 forks source link

JavaScript error with PHP7.1 #65

Open wernerkrauss opened 6 years ago

wernerkrauss commented 6 years ago

I encountered a weird problem:

With PHP7.1 I get a JS error when I try to save a page in backend with Shortcodable enabled:

TypeError: shortcodable is undefined

Switching this machine to PHP7.0 everything works fine. I have no clue what would cause this.

My setting:

SilverStripe Framework: 3.6.2 Shortcodable: 3.0.2