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.
Just upgraded to version 7.x-3.3-beta2, all worked well before,
now i get many lines of errors:
Notice: Use of undefined constant LANGUAGE_NEGOTIATION_NONE - assumed 'LANGUAGE_NEGOTIATION_NONE' in fb_url_inbound_alter() (line 131 of /home/users/*****/sites/all/modules/fb/fb_url_rewrite.inc).
my site use i18 with English and Japanese, is there a solution?
thank you.
Comment | File | Size | Author |
---|---|---|---|
#2 | fb_7x_language_negotiation.diff | 1.46 KB | Dave Cohen |
#1 | fb_7x_language_negotiation.diff | 484 bytes | Dave Cohen |
Comments
Comment #1
Dave Cohen CreditAttribution: Dave Cohen commentedI don't have a setup where I can easily test this. Can you tell me if this patch solves the problem?
Comment #2
Dave Cohen CreditAttribution: Dave Cohen commentedThis patch is more likely to solve the problem. I still have not tested on a site with more than one language configured. Would appreciate some feedback as to whether canvas pages work in such an environment.
Comment #3
Dave Cohen CreditAttribution: Dave Cohen commentedneeds review
Comment #4
Dave Cohen CreditAttribution: Dave Cohen commentedTry beta3. It might be that i18n is not working on canvas pages, as I haven't fully tested it. But this error at least should be gone.
Comment #5
Liav CreditAttribution: Liav commentedThank you for your answers Dave.
The first patch i applied didn't work, so i restored the module to version 7.x-3.3-beta1, which works great
with i18n on canvas pages, both in Japanese and English.
i will back up my site and try beta3. thank you again.