Posted by neofelis1985 on January 8, 2013 at 6:26pm
10 followers
| Project: | Wysiwyg |
| Version: | 7.x-2.2 |
| Component: | Editor - CKEditor |
| Category: | bug report |
| Priority: | normal |
| Assigned: | neofelis1985 |
| Status: | closed (duplicate) |
Issue Summary
A new CKEditor 4.0.1 is since today released.
I updated the editor and now i see in backend following error message:
Notice: Undefined offset: 2 in wysiwyg_ckeditor_version() (Line 85 from ckeditor.inc).
Comments
#1
Same problem here.
I've solved it replacing
return $version[1] . '.' . $version[2];with
return $version[1];in modules/wysiwyg/editors/ckeditor.inc line 85
Previously, I've done this too: http://drupal.org/node/1853550
#2
#1 helped, thanks, I created a patch
#3
#4
Sorry, but that patch will break CKEditor 3.x versions, please note the comment above those lines.
I'll merge this into #1853550: Ckeditor 4.0 - The version of CKEditor could not be detected. since it's the same basic problem with all 4.x releases.
#5
Thanks...#1 fixed my issue!
#6
#1 worked perfect for me. Thanks!