Ckedtior outputStandardEditor fails in 5.8 with JS caching on Jshrink Minifier.php error

Permalink
I have a dashboard single page that is displaying a CKEditor in 5.8.
echo Core::make('editor')->outputStandardEditor('content',$myContent);


Works fine with CSS/JS caching off. As soon as JS/CSS caching is turned on for the site, I get the following error from JShrink in Minifier.php:
PHP Fatal error:  Uncaught RuntimeException: Unclosed regex pattern at position: 139150


It's the error being thrown from:
/docs/concrete/vendor/tedivm/jshrink/src/JShrink/Minifier.php(240): JShrink\\Minifier->saveRegex()\n#1


Any thoughts? I've tried passing no content. I've tried the inline editor.

bdurant
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi bdurant,

I can confirm this.

A GitHub issue was created:
Embedding CKEditor in single pages triggers fatal error when CSS and JavaScript Cache is enabled #4922
https://github.com/concrete5/concrete5/issues/4922...
buurvrouw replied on at Permalink Reply
buurvrouw
I see this error and behaviour when adding a product through Community Store Dashboard. When turning css and javascript cache off, the error is gone.