You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bundle.js?m=1516829605:1 Uncaught TypeError: Cannot read property 'fields' of undefined
First saw this JS error via Chrome developer tools in a CWP project. I traced it back to CWP\CWP\BasePage where TreeMultiSelectField is included. Commenting it out made the error go away.
For completeness, I tested it in isolation via a vanilla 4.0.2 (installer) setup = same problem. The error basically means that some of the "advanced" TinyMCE buttons are inoperable e.g. "Insert Image From Files", "Insert Media Via URL" etc. Clicking them renders similar JS errors such as:
Uncaught TypeError: Cannot read property 'sections' of undefined
Steps to Reproduce
1). Setup the following basic `Page
2). Login to the CMS
3). Open the "Home" page.
4). Observe the above error(s) in developer console
Affected Version
PHP 7.0.27 + silverstripe/installer 4.0.2 (vanilla install) + Chromium / Ubuntu 16.04
Description
First saw this JS error via Chrome developer tools in a CWP project. I traced it back to
CWP\CWP\BasePage
whereTreeMultiSelectField
is included. Commenting it out made the error go away.For completeness, I tested it in isolation via a vanilla 4.0.2 (installer) setup = same problem. The error basically means that some of the "advanced" TinyMCE buttons are inoperable e.g. "Insert Image From Files", "Insert Media Via URL" etc. Clicking them renders similar JS errors such as:
Steps to Reproduce
1). Setup the following basic `Page
2). Login to the CMS
3). Open the "Home" page.
4). Observe the above error(s) in developer console
Pull requests
The text was updated successfully, but these errors were encountered: