Uncaught TypeError: Cannot read property 'editor_path' of undefined js_51FlPasOwvoZYGA3_P6gE42gJ4acg1rEBRHnUTrjdgg.js:2057
(anonymous function)

Editor does not show up within my theme - a admin theme works fine like seven. Thought this had something to do with recaptcha conflict but after upgrading jquery_update that doesn't seem to be related...

Any help of why I would be getting this error would be very appreciated... I've tried just about everything I know of...


wwalc’s picture

Status:Active» Fixed

CKEditor Global Profile: "Aggregate ckeditor.js" should be set to Disabled. It should even increase the performance of your website.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

wwalc’s picture

Issue summary:View changes
Status:Closed (fixed)» Active

Just managed to reproduce it on a site that prints Drupal.settings in a footer.

Adding weight to

drupal_add_js(ckeditor_module_path('url') . '/includes/ckeditor.utils.js', array('type' => 'file', 'scope' => 'footer', 'weight' => 10000));

did not help.

The error comes from includes/ckeditor.utils.js:
window.CKEDITOR_BASEPATH = Drupal.settings.ckeditor.editor_path;

hass’s picture

I also had this error on one site and Aggregate ckeditor.js was DISABLED. Just hit save in Global profile without changing anything and the editor reappeared. Before this I also tried clearing caches several times.

Lostandfound’s picture

I am having this issue too:
Uncaught TypeError: Cannot read property 'editor_path' of undefined
I am not using ReCaptcha.
The error occurs whether Aggregated or not.
If using the CDN (//cdn.ckeditor.com/4.4.7/full-all) the error occurs. If downloading it to libraries (%l/ckeditor) the error does not occur.