Hello,

i have this message on each changes on user profile or when adding new node to my website under drupal 7 : 'erreur
Warning: preg_match() expects parameter 2 to be string, array given dans transliteration_process() (ligne 32 dans /homepages/32/d318743363/htdocs/mysite/drupal/sites/all/modules/transliteration/transliteration.inc).

does anyone knows what is about ? a conflict with another module maybe ?

thanks for ur help

CommentFileSizeAuthor
#12 1063242.diff503 bytesfeo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

smk-ka’s picture

Status: Active » Closed (works as designed)

This means some module's code is bogus, as it's passing an array instead of a string. You could try to debug on your own to find out which module calls any of the transliteration_*() functions by inserting something like var_dump(debug_backtrace()); right before line 32 in transliteration.inc.

nelp’s picture

Hi
I had the same error and removede the module Insert. It look like it solved my problem.

ChrisFlink’s picture

I got this error after enabling te redirect module. No time to dive into it, but disabling solved the problem for now...

tomgf’s picture

I had the same issue using Drupal 7 with Transliteration 7.x-3.0-alpha1.

It seems to be solved in the 7.x-3.x-dev (http://ftp.drupal.org/files/projects/transliteration-7.x-3.0-alpha1.tar.gz) version.

borazslo’s picture

same

kirkofalltrades’s picture

I can confirm updating to the current dev version fixes the problem. I also have Insert installed.

brett1’s picture

Same issue but the Transliteration 7.x-3.0-alpha1 did not solve this issue, I removed Transliteration 7.x-3.0-alpha1 and seems fine ??

otx’s picture

Same problem here, warning messages started to appear after enabling Webform module. I'm using Transliteration 7.x-3.0-alpha1 version.

Rade’s picture

We had the same probelm, but the error messages occurred only if we added a select-option in the webform.

After updating to newest Webform (7.x-3.13) the errors were gone and everything works fine.

Rade’s picture

Correction: The errors came back after updating Webform module but haven't shown up now after we updated to latest dev version of Transliteration.

gagarine’s picture

I got this error with I go on node/x/webform-results sometimes... if I refresh 10 times I got the error perhaps 4 times. It's a multilingual website but the webforme node type don't have any translation feature activated.

webform 7.x-3.13
transliteration 7.x-3.0-alpha1

feo’s picture

Status: Closed (works as designed) » Patch (to be ported)
FileSize
503 bytes

That's a quick patch, which resolves the problem.

gagarine’s picture

Status: Patch (to be ported) » Needs review

The function should certainly not be called at the first place no?

amateescu’s picture

Version: 7.x-3.0-alpha1 » 7.x-3.x-dev
Status: Needs review » Closed (works as designed)

This is clearly fixed in the 7.x-3.x-dev version. We'll probably have a new stable release soon so I'm closing this one.