Message:
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of preg_match(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in mydomain.com/sites/all/modules/gtranslate_links/gtranslate_links.module on line 34
I fixed the warning replacing the line:
if (preg_match('/([a-z]{2})\.[^.]*$/', $file, &$matches) > 0) {
to:
if (preg_match('/([a-z]{2})\.[^.]*$/', $file, $matches) > 0) {
Comments
Comment #1
blinkingtwelve commentedThanks! Fixed in 6.x-1.3 and 5.x-1.5 .