I'm using this module in combination with pathauto. For a project we are working on a installation profile where this module is enabled during installation. After the installation I get a warning a array is passed to the function

Warning: preg_match() expects parameter 2 to be string, array given in transliteration_process() (line 32 of /sites/all/modules/contrib/transliteration/transliteration.inc).

I created a patch to check if the param given is actually a string.

CommentFileSizeAuthor
check_string_before_processing.patch498 bytesnico heulsen

Comments

dotbrat’s picture

wmostrey’s picture

It's a much simpler but much needed check. I confirm this patch to work as expected.

simon georges’s picture

Did you use the -dev version ? #1126514: preg_match() expects parameter 2 to be string, array given in transliteration_process indicates it's already fixed in it. Duplicate ?

wmostrey’s picture

Status: Needs review » Closed (duplicate)

It is indeed fixed in the dev version, marking as a duplicate for #1126514: preg_match() expects parameter 2 to be string, array given in transliteration_process.