I want to allow users to align text and insert images, so I created a new text formatting. Users can now align text and insert images, but when they edit their own content the following php warings appears in recent log messages:
Warning: Missing argument 3 for _htmLawed_process(), called in K:\gedichten\sites\all\modules\ckeditor\includes\ckeditor.page.inc on line 174 and defined in _htmLawed_process() (line 32 of K:\gedichten\sites\all\modules\htmLawed\htmLawed.module).
Warning: Missing argument 4 for _htmLawed_process(), ...
Warning: Missing argument 5 for _htmLawed_process(), ...
Warning: Missing argument 6 for _htmLawed_process(), ...
What am I doing wrong? I use this text format in CKeditor.
In the attached images are the settings that I used.
| Comment | File | Size | Author |
|---|---|---|---|
| Text-format-2.png | 43.84 KB | CFW | |
| Text-format-1.png | 43.35 KB | CFW |
Comments
Comment #1
alpha2zee commentedI have a feeling this has to do something with ckeditor. In my Drupal 7 installation, without ckeditor, I do not see such an error in the PHP error log. I don't know if you can test this, but does the error appear if ckeditor is not in use?
The htmLawed settings you have appear fine. The Config. and Spec. values are read within the _htmLawed_process function. Argument 2 of the function ($filter) is read by the function to identify the htmLawed settings in effect for the filter.
Comment #2
CFW commentedThanks, for your reply.
I removed the ckeditor and as you already suspected, the problem is gone. No error messages in recent log messages.
Comment #3
alpha2zee commented