Closed (won't fix)
Project:
CKEditor Filter
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2015 at 18:58 UTC
Updated:
30 Jan 2017 at 17:49 UTC
Jump to comment: Most recent
Comments
Comment #1
aschmoe commentedDo you have a record of the setttings that are causing this notification?
Thanks!
Comment #2
aschmoe commentedComment #3
xiangrikuiyy commentedThat's the errors I got
Warning: preg_match(): Compilation failed: nothing to repeat at offset 159 in _ckeditor_filter_process_styles() (line 165 of /var/www/asht/www/sites/all/modules/contrib/ckeditor_filter/ckeditor_filter.module).
Warning: array_filter() expects parameter 1 to be array, null given in _ckeditor_filter_process_styles() (line 166 of /var/www/asht/www/sites/all/modules/contrib/ckeditor_filter/ckeditor_filter.module).
Comment #4
RAWDESK commentedI also received these warnings
but only once for each text format, or after filter settings are changed.
Another finding when adding the same new Valid Style properties at :
admin/config/content/formats/wysiwyg
admin/config/content/formats/full_html
For full_html these properties get allowed in content editing, but for wysiwyg they are still stripped from content.
Comment #5
medieval111 commentedFound the solution!
I had the same error from the beginning. Turned out to be a PHP 5.3 issue.
Apply patch #2661152: All styles being stripped out to fix this.
Comment #6
medieval111 commentedComment #7
aschmoe commentedThanks @medieval111, I'm going to mark this as wont-fix since php 5.3 is so old: http://php.net/supported-versions.php
Hopefully your comment helps others though!