I am getting the following error messages in my Error Log...
Warning: Missing argument 4 for wysiwyg_filter_filter_wysiwyg_process(),
called in /u01/www/vhosts/www..../httpdocs/sites/all/modules/ckeditor/includes/ckeditor.page.inc
on line 189 and defined in wysiwyg_filter_filter_wysiwyg_process()
(line 25 of /u01/www/vhosts/www..../httpdocs/sites/all/modules/wysiwyg_filter/wysiwyg_filter.pages.
inc).
it repeats above error for missing argument 4, 5 and 6 and then this error:
Notice: Trying to get property of non-object in wysiwyg_filter_filter_wysiwyg_process() (line 36 of /u01/www/vhosts/www.../httpdocs/sites/all/modules/wysiwyg_filter/wysiwyg_filter.pages.inc).
WYSIWYG filter 7.x-1.6-rc2
CKeditor v 7.x-1.8
Any ideas how I can fix this? I have had to disable WYSIWYG because although it was still working, it was really slowing my site down.
Thanks
Gina
Comment | File | Size | Author |
---|---|---|---|
#3 | wysiwyg_filter-missing-argument-1543044-2.patch | 625 bytes | herderwu |
Comments
Comment #1
fantom84 CreditAttribution: fantom84 commentedI have this error too
when I use taxonomy field this error shows
Comment #2
herderwu CreditAttribution: herderwu commentedI forget to attached patch, sorry. please see attached file next.
Comment #3
herderwu CreditAttribution: herderwu commentedthe patch file.
Comment #4
arnoldbird CreditAttribution: arnoldbird commentedThe patch in #3 seems to address the first warning in the bug report, but not the notice: Trying to get property of non-object in wysiwyg_filter_filter_wysiwyg_process()
Comment #5
GaëlGarnoldbird is right.
Comment #6
GaëlGMy bad. The second error is addressed in #1728318: [D7] Text format filters are not properly given $format; cannot look up their per-format settings. Use both patches and it should work.
Comment #7
beeradb CreditAttribution: beeradb commentedJust wanted to chime in and help get this some traction. This patch is a super straightforward way to deal with optional function params. Gets a +1 from me as well.
Comment #9
stefan.r CreditAttribution: stefan.r commentedPatch looks great, thanks!
Committed: https://www.drupal.org/commitlog/commit/7716/4f9d152e49322cb86b40f8388a9...