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.
I get a WSOD when translating a string on a monolingual site that has i18n_string enabled.
Here's Apache2 error.log :
PHP Fatal error: Call to a member function cache_reset() on a non-object in /var/www/html/testing.dev/sites/all/modules/i18n/i18n_string/i18n_string.pages.inc on line 402, referer: http://testing.dev/admin/config/regional/translate/edit/8804?destination=admin/config/regional/translate/translate
[Thu Dec 11 12:19:43.914329 2014] [:error] [pid 20527] [client 127.0.0.1:51891]
Comment | File | Size | Author |
---|---|---|---|
#1 | i18n_string-check_i18n_string_object-2391823.patch | 748 bytes | PascalAnimateur |
Comments
Comment #1
PascalAnimateur CreditAttribution: PascalAnimateur commentedComment #2
ñull CreditAttribution: ñull commentedI can confirm this error in the dev version and the posted patch is a fix for it.
Comment #3
entrepreneur2000 CreditAttribution: entrepreneur2000 commentedPatch #1 worked for me, thanks @PascalAnimateur