Notice: Undefined index: loadPlugins in ckeditor_modules_disabled() (line 641 of /../sites/all/modules/ckeditor/ckeditor.module

Hello, tried Googling (and on sites searching for similar error, but couldn't find anything.)

This appears after updating drupal 7.17 to 7.18.

Used versions:
Drupal version is 7.18
CKEditor module is 7.x.1.11
CK Editor 3.6.5

Comments

anrikun’s picture

Priority: Major » Normal

I'm not sure this has to do with CKEditor SWF.
Have a look at the CKEditor module's issue queue too.
BTW have you cleared all your caches (Drupal + Browser) after updating?

tusik’s picture

Project: CKEditor SWF - Enhanced Flash embedding plugin » CKEditor 4 - WYSIWYG HTML editor
Version: 7.x-1.0-beta1 » 7.x-1.1

I apologise! I mixed the modules up from the pulldown!
I have edited the issue settings, to reflect that!

I updated drupal via drush and yet cleared caches manually again. Excecuted update.php, cleared browser cache as well.

chris-cmfi’s picture

Experiencing same error message after update to Drupal 7.18.

fietserwin’s picture

Same problem as in #1844390: [D7] Undefined index: loadPlugins in ckeditor_modules_enabled(). Same type of fix has to be applied to this function. Note D7.18 has nothing to do with it, I'm on D7.17 with CKEditor 7.x-1.12.

tusik’s picture

Fixed after upgrading CK Editor module to version 7.x.-1.12., and clearing caches. No more error message.

Strange enough, error is back after a while.

HarryAscent’s picture

Subscribe

dczepierga’s picture

Title: Notice: Undefined index: loadPlugins in ckeditor_modules_disabled() (line 641 of /../sites/all/modules/ckeditor/ckeditor.modu » [D7] Undefined index: loadPlugins in ckeditor_modules_disabled() and ckeditor_modules_uninstalled()
Status: Active » Fixed

I fix it and commit to GIT (diff).

Before it was bug in other function, now it should work in last DEV.

Greetings

fietserwin’s picture

Thanks for making and committing the changes.

#5: that's not so strange, after all, the functions are not executed very often (only when other modules are disabled or enabled, not when the cache is cleared or something like that).

Status: Fixed » Closed (fixed)

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

dongtian’s picture

Thanks dczepierga for your patch

Anybody’s picture

What about a stable release that contains this fix? It's quite old and the stable release still shows this notice.

Rob230’s picture

Second what Anybody says. All of my sites that use ckeditor give an error when disabling or uninstalling modules. This shouldn't happen in a stable release of such a widely used module (I avoid using dev versions on production sites). Even though the problem itself is benign, the error can worry people.

pixelsweatshop’s picture

It looks like today's stable release includes the fix.