I use standalone ckeditor-7.x-1.17 and video_filter-7.x-3.3, and read README.txt in video_filter/editors/ckeditor:
3. Go to "Plugins" on the same page. Enable the video filter plugin.
I made that:
1. Copy video_filter/editors/ckeditor to ckeditor/plugins (for looking "Plugin for inserting video tags with video_filter" in "Plugins" ckeditor setting). This working for video_filter 3.1
2. On page /admin/config/content/ckeditor/edit/Full I have errors:
Warning: strpos() expects parameter 1 to be string, array given в функции ckeditor_load_plugins() (строка 342 в файле /sites/all/modules/contrib/ckeditor/includes/ckeditor.lib.inc).
Warning: preg_match() expects parameter 2 to be string, array given в функции ckeditor_load_plugins() (строка 342 в файле /sites/all/modules/contrib/ckeditor/includes/ckeditor.lib.inc).
Notice: Array to string conversion в функции ckeditor_load_plugins() (строка 343 в файле /sites/all/modules/contrib/ckeditor/includes/ckeditor.lib.inc).
Notice: Array to string conversion в функции ckeditor_toolbar_buttons_all() (строка 1765 в файле /sites/all/modules/contrib/ckeditor/includes/ckeditor.admin.inc).
Warning: Illegal offset type in isset or empty в функции locale() (строка 713 в файле /modules/locale/locale.module).
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'Video filter' AND s.context = '' AND s.textgroup = 'default'' at line 1: SELECT s.lid, t.translation, s.version FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid AND t.language = :language WHERE s.source = :source_0, :source_1 AND s.context = :context AND s.textgroup = 'default'; Array ( [:language] => ru [:context] => [:source_0] => video_filter [:source_1] => Video filter ) в функции locale() (строка 720 в файле /modules/locale/locale.module).
Comments
Comment #2
ttkaminski commentedI ran into this issue. The problem occurs when the same plugin is provided by two modules. If you recently upgraded the video_filter module, it now provides the video_filter ckeditor plugin (the older version of the module didn't). You now need to delete the plugin you manually installed in the ckeditor/plugins/video_filter to prevent the error from happening. Ideally the ckeditor module should be smart enough to detect this case and throw a more user friendly error/warning.
Comment #3
slpearceThis is caused by a plugin's path variable being an array instead of a string. Easily fixed. See suggested patch.
Comment #4
ttkaminski commentedAlthough that patch gets rid of the error, it wouldn't recommend it. You still have two plugins installed, so which one is it using? It's best to remove the plugin you don't want, or modify the patch to issue a more user friendly error (that tells you that there is a plugin conflict and you need to remove one).
Comment #5
damienmckennaComment #6
drupal-son commentedHi, same issue here after updating from 7.x-1.16 to 7.x-1.18 (latest stable release at this time).
Thanks
Comment #7
kaloyan.damyanov commentedVersion 7.x-1.18.
Comment #8
vokielAttached a new patch which does a bit more than the one from #7:
drupal_set_message().drupal_watchdog()so even when someone will miss the warning it will be found in logs.$pluginarray as in case of duplicated plugin all elements are duplicated (path, name, desc, buttons).Comment #10
vokielComment #11
vokiel