When I attempt to edit an existing page, upon saving the content I receive the following PHP error:

warning: strtok() expects parameter 1 to be string, array given in /www/element63/html/sites/all/modules/ckeditor/includes/ckeditor.page.inc on line 192.

Although the content does appear to be saved correctly, this error continues to appear and can be produced every time.

I am using PHP 5.3.2 with Apache 2.2.14 on CentOS. As for Drupal I am using 6.15

Please let me know if I can provide you with any other details. I can be reached at the following email address: bugs@element63.com

CommentFileSizeAuthor
#3 742160-filter_string_check.patch676 bytesdczepierga
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

klonos’s picture

Title: Error when saving content » warning: strtok() expects parameter 1 to be string in ckeditor.page.inc on line 192 - when saving content

changed issue title to reflect error

wwalc’s picture

It looks like there is a problem with another custom module... however we can add some validation on our side for it.

dczepierga’s picture

Status: Active » Needs review
FileSize
676 bytes

Fix in attachment.

It's check that given value is string.

wwalc’s picture

Status: Needs review » Reviewed & tested by the community
wwalc’s picture

Status: Reviewed & tested by the community » Fixed

Committed into CVS, thanks!

It still would be nice to understand exactly why this error occurred, I could not reproduce it locally.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.