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]
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

PascalAnimateur’s picture

ñull’s picture

Version: 7.x-1.11 » 7.x-1.x-dev

I can confirm this error in the dev version and the posted patch is a fix for it.

entrepreneur2000’s picture

Patch #1 worked for me, thanks @PascalAnimateur