Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#12 | 1063242.diff | 503 bytes | feo |
Comments
Comment #1
smk-ka CreditAttribution: smk-ka commentedThis 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.Comment #2
nelp CreditAttribution: nelp commentedHi
I had the same error and removede the module Insert. It look like it solved my problem.
Comment #3
ChrisFlink CreditAttribution: ChrisFlink commentedI got this error after enabling te redirect module. No time to dive into it, but disabling solved the problem for now...
Comment #4
tomgf CreditAttribution: tomgf commentedI 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.
Comment #5
borazslo CreditAttribution: borazslo commentedsame
Comment #6
kirkofalltrades CreditAttribution: kirkofalltrades commentedI can confirm updating to the current dev version fixes the problem. I also have Insert installed.
Comment #7
brett1 CreditAttribution: brett1 commentedSame 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 ??
Comment #8
otx CreditAttribution: otx commentedSame problem here, warning messages started to appear after enabling Webform module. I'm using Transliteration 7.x-3.0-alpha1 version.
Comment #9
Rade CreditAttribution: Rade commentedWe 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.
Comment #10
Rade CreditAttribution: Rade commentedCorrection: The errors came back after updating Webform module but haven't shown up now after we updated to latest dev version of Transliteration.
Comment #11
gagarine CreditAttribution: gagarine commentedI 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
Comment #12
feo CreditAttribution: feo commentedThat's a quick patch, which resolves the problem.
Comment #13
gagarine CreditAttribution: gagarine commentedThe function should certainly not be called at the first place no?
Comment #14
amateescu CreditAttribution: amateescu commentedThis 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.