Mautic Community Forums

Console Errors on fresh install

Hi!



I’m getting a whole bunch of console errors on my fresh install. Using a Plesk VPS and PHP7 / FPM. I’ve done some Google research but found no solution. I’ll paste the errors I am getting below.



Any help would be appreciated.



Kind regards,



Bernhard

Code:
froala_editor.js?vc6b1b6a2:557 Uncaught SyntaxError: Unexpected string align.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ align.js?vc6b1b6a2:3(anonymous function) @ align.js?vc6b1b6a2:3(anonymous function) @ align.js?vc6b1b6a2:3 code_beautifier.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ code_beautifier.js?vc6b1b6a2:3(anonymous function) @ code_beautifier.js?vc6b1b6a2:3(anonymous function) @ code_beautifier.js?vc6b1b6a2:3 code_view.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ code_view.js?vc6b1b6a2:3(anonymous function) @ code_view.js?vc6b1b6a2:3(anonymous function) @ code_view.js?vc6b1b6a2:3 colors.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'POPUP_TEMPLATES' of undefined(anonymous function) @ colors.js?vc6b1b6a2:3(anonymous function) @ colors.js?vc6b1b6a2:3(anonymous function) @ colors.js?vc6b1b6a2:3 font_family.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ font_family.js?vc6b1b6a2:3(anonymous function) @ font_family.js?vc6b1b6a2:3(anonymous function) @ font_family.js?vc6b1b6a2:3 font_size.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ font_size.js?vc6b1b6a2:3(anonymous function) @ font_size.js?vc6b1b6a2:3(anonymous function) @ font_size.js?vc6b1b6a2:3 fullscreen.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ fullscreen.js?vc6b1b6a2:3(anonymous function) @ fullscreen.js?vc6b1b6a2:3(anonymous function) @ fullscreen.js?vc6b1b6a2:3 image.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'POPUP_TEMPLATES' of undefined(anonymous function) @ image.js?vc6b1b6a2:3(anonymous function) @ image.js?vc6b1b6a2:3(anonymous function) @ image.js?vc6b1b6a2:3 filemanager.js?vc6b1b6a2:6 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ filemanager.js?vc6b1b6a2:6(anonymous function) @ filemanager.js?vc6b1b6a2:6(anonymous function) @ filemanager.js?vc6b1b6a2:6 inline_style.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ inline_style.js?vc6b1b6a2:3(anonymous function) @ inline_style.js?vc6b1b6a2:3(anonymous function) @ inline_style.js?vc6b1b6a2:3 line_breaker.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ line_breaker.js?vc6b1b6a2:3(anonymous function) @ line_breaker.js?vc6b1b6a2:3(anonymous function) @ line_breaker.js?vc6b1b6a2:3 link.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'POPUP_TEMPLATES' of undefined(anonymous function) @ link.js?vc6b1b6a2:3(anonymous function) @ link.js?vc6b1b6a2:3(anonymous function) @ link.js?vc6b1b6a2:3 lists.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ lists.js?vc6b1b6a2:3(anonymous function) @ lists.js?vc6b1b6a2:3(anonymous function) @ lists.js?vc6b1b6a2:3 paragraph_format.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ paragraph_format.js?vc6b1b6a2:3(anonymous function) @ paragraph_format.js?vc6b1b6a2:3(anonymous function) @ paragraph_format.js?vc6b1b6a2:3 paragraph_style.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ paragraph_style.js?vc6b1b6a2:3(anonymous function) @ paragraph_style.js?vc6b1b6a2:3(anonymous function) @ paragraph_style.js?vc6b1b6a2:3 quick_insert.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ quick_insert.js?vc6b1b6a2:3(anonymous function) @ quick_insert.js?vc6b1b6a2:3(anonymous function) @ quick_insert.js?vc6b1b6a2:3 quote.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ quote.js?vc6b1b6a2:3(anonymous function) @ quote.js?vc6b1b6a2:3(anonymous function) @ quote.js?vc6b1b6a2:3 table.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'POPUP_TEMPLATES' of undefined(anonymous function) @ table.js?vc6b1b6a2:3(anonymous function) @ table.js?vc6b1b6a2:3(anonymous function) @ table.js?vc6b1b6a2:3 url.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ url.js?vc6b1b6a2:3(anonymous function) @ url.js?vc6b1b6a2:3(anonymous function) @ url.js?vc6b1b6a2:3 gatedvideo.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'POPUP_TEMPLATES' of undefined(anonymous function) @ gatedvideo.js?vc6b1b6a2:3(anonymous function) @ gatedvideo.js?vc6b1b6a2:3(anonymous function) @ gatedvideo.js?vc6b1b6a2:3 token.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ token.js?vc6b1b6a2:3(anonymous function) @ token.js?vc6b1b6a2:3(anonymous function) @ token.js?vc6b1b6a2:3 dynamic_content.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ dynamic_content.js?vc6b1b6a2:3(anonymous function) @ dynamic_content.js?vc6b1b6a2:3(anonymous function) @ dynamic_content.js?vc6b1b6a2:3 app.js?vc6b1b6a2:15 Uncaught TypeError: Cannot read property 'ENTER_BR' of undefinedactivateGlobalFroalaOptions @ app.js?vc6b1b6a2:15onPageLoad @ app.js?vc6b1b6a2:22(anonymous function) @ dashboard:889 app.js?vc6b1b6a2:15 Uncaught TypeError: Cannot read property 'ENTER_BR' of undefinedactivateGlobalFroalaOptions @ app.js?vc6b1b6a2:15onPageLoad @ app.js?vc6b1b6a2:22processPageContent @ app.js?vc6b1b6a2:93success @ app.js?vc6b1b6a2:67fire @ libraries.js?vc6b1b6a2:303fireWith @ libraries.js?vc6b1b6a2:308done @ libraries.js?vc6b1b6a2:628(anonymous function) @ libraries.js?vc6b1b6a2:645 app.js?vc6b1b6a2:438 Uncaught TypeError: mQuery(...).froalaEditor is not a functionMautic.pageOnUnload @ app.js?vc6b1b6a2:438onPageUnload @ app.js?vc6b1b6a2:62processPageContent @ app.js?vc6b1b6a2:83success @ app.js?vc6b1b6a2:67fire @ libraries.js?vc6b1b6a2:303fireWith @ libraries.js?vc6b1b6a2:308done @ libraries.js?vc6b1b6a2:628(anonymous function) @ libraries.js?vc6b1b6a2:645

Hi!

I’m getting a whole bunch of console errors on my fresh install. Using a Plesk VPS and PHP7 / FPM. I’ve done some Google research but found no solution. I’ll paste the errors I am getting below.

Any help would be appreciated.

Kind regards,

Bernhard

froala_editor.js?vc6b1b6a2:557 Uncaught SyntaxError: Unexpected string align.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ align.js?vc6b1b6a2:3(anonymous function) @ align.js?vc6b1b6a2:3(anonymous function) @ align.js?vc6b1b6a2:3 code_beautifier.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ code_beautifier.js?vc6b1b6a2:3(anonymous function) @ code_beautifier.js?vc6b1b6a2:3(anonymous function) @ code_beautifier.js?vc6b1b6a2:3 code_view.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ code_view.js?vc6b1b6a2:3(anonymous function) @ code_view.js?vc6b1b6a2:3(anonymous function) @ code_view.js?vc6b1b6a2:3 colors.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'POPUP_TEMPLATES' of undefined(anonymous function) @ colors.js?vc6b1b6a2:3(anonymous function) @ colors.js?vc6b1b6a2:3(anonymous function) @ colors.js?vc6b1b6a2:3 font_family.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ font_family.js?vc6b1b6a2:3(anonymous function) @ font_family.js?vc6b1b6a2:3(anonymous function) @ font_family.js?vc6b1b6a2:3 font_size.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ font_size.js?vc6b1b6a2:3(anonymous function) @ font_size.js?vc6b1b6a2:3(anonymous function) @ font_size.js?vc6b1b6a2:3 fullscreen.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ fullscreen.js?vc6b1b6a2:3(anonymous function) @ fullscreen.js?vc6b1b6a2:3(anonymous function) @ fullscreen.js?vc6b1b6a2:3 image.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'POPUP_TEMPLATES' of undefined(anonymous function) @ image.js?vc6b1b6a2:3(anonymous function) @ image.js?vc6b1b6a2:3(anonymous function) @ image.js?vc6b1b6a2:3 filemanager.js?vc6b1b6a2:6 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ filemanager.js?vc6b1b6a2:6(anonymous function) @ filemanager.js?vc6b1b6a2:6(anonymous function) @ filemanager.js?vc6b1b6a2:6 inline_style.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ inline_style.js?vc6b1b6a2:3(anonymous function) @ inline_style.js?vc6b1b6a2:3(anonymous function) @ inline_style.js?vc6b1b6a2:3 line_breaker.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ line_breaker.js?vc6b1b6a2:3(anonymous function) @ line_breaker.js?vc6b1b6a2:3(anonymous function) @ line_breaker.js?vc6b1b6a2:3 link.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'POPUP_TEMPLATES' of undefined(anonymous function) @ link.js?vc6b1b6a2:3(anonymous function) @ link.js?vc6b1b6a2:3(anonymous function) @ link.js?vc6b1b6a2:3 lists.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ lists.js?vc6b1b6a2:3(anonymous function) @ lists.js?vc6b1b6a2:3(anonymous function) @ lists.js?vc6b1b6a2:3 paragraph_format.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ paragraph_format.js?vc6b1b6a2:3(anonymous function) @ paragraph_format.js?vc6b1b6a2:3(anonymous function) @ paragraph_format.js?vc6b1b6a2:3 paragraph_style.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ paragraph_style.js?vc6b1b6a2:3(anonymous function) @ paragraph_style.js?vc6b1b6a2:3(anonymous function) @ paragraph_style.js?vc6b1b6a2:3 quick_insert.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ quick_insert.js?vc6b1b6a2:3(anonymous function) @ quick_insert.js?vc6b1b6a2:3(anonymous function) @ quick_insert.js?vc6b1b6a2:3 quote.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ quote.js?vc6b1b6a2:3(anonymous function) @ quote.js?vc6b1b6a2:3(anonymous function) @ quote.js?vc6b1b6a2:3 table.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'POPUP_TEMPLATES' of undefined(anonymous function) @ table.js?vc6b1b6a2:3(anonymous function) @ table.js?vc6b1b6a2:3(anonymous function) @ table.js?vc6b1b6a2:3 url.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'DEFAULTS' of undefined(anonymous function) @ url.js?vc6b1b6a2:3(anonymous function) @ url.js?vc6b1b6a2:3(anonymous function) @ url.js?vc6b1b6a2:3 gatedvideo.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'POPUP_TEMPLATES' of undefined(anonymous function) @ gatedvideo.js?vc6b1b6a2:3(anonymous function) @ gatedvideo.js?vc6b1b6a2:3(anonymous function) @ gatedvideo.js?vc6b1b6a2:3 token.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ token.js?vc6b1b6a2:3(anonymous function) @ token.js?vc6b1b6a2:3(anonymous function) @ token.js?vc6b1b6a2:3 dynamic_content.js?vc6b1b6a2:3 Uncaught TypeError: Cannot read property 'PLUGINS' of undefined(anonymous function) @ dynamic_content.js?vc6b1b6a2:3(anonymous function) @ dynamic_content.js?vc6b1b6a2:3(anonymous function) @ dynamic_content.js?vc6b1b6a2:3 app.js?vc6b1b6a2:15 Uncaught TypeError: Cannot read property 'ENTER_BR' of undefinedactivateGlobalFroalaOptions @ app.js?vc6b1b6a2:15onPageLoad @ app.js?vc6b1b6a2:22(anonymous function) @ dashboard:889 app.js?vc6b1b6a2:15 Uncaught TypeError: Cannot read property 'ENTER_BR' of undefinedactivateGlobalFroalaOptions @ app.js?vc6b1b6a2:15onPageLoad @ app.js?vc6b1b6a2:22processPageContent @ app.js?vc6b1b6a2:93success @ app.js?vc6b1b6a2:67fire @ libraries.js?vc6b1b6a2:303fireWith @ libraries.js?vc6b1b6a2:308done @ libraries.js?vc6b1b6a2:628(anonymous function) @ libraries.js?vc6b1b6a2:645 app.js?vc6b1b6a2:438 Uncaught TypeError: mQuery(...).froalaEditor is not a functionMautic.pageOnUnload @ app.js?vc6b1b6a2:438onPageUnload @ app.js?vc6b1b6a2:62processPageContent @ app.js?vc6b1b6a2:83success @ app.js?vc6b1b6a2:67fire @ libraries.js?vc6b1b6a2:303fireWith @ libraries.js?vc6b1b6a2:308done @ libraries.js?vc6b1b6a2:628(anonymous function) @ libraries.js?vc6b1b6a2:645

Ok, I figured it out: Actually I had Cloudflare enabled on this subdomain, and with the settings I had, this broke Froala and more things.