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 have installed i18n_views and when i click in Translate views... and the trouble is:
Fatal error: Call to a member function get_translation() on a non-object in /var/www/clients/client0/web34/web/sites/all/modules/i18n/i18n_string/i18n_string.pages.inc on line 71
Thanks for your help!
Comments
Comment #1
kerios83 CreditAttribution: kerios83 commentedYou are probadly using i18n beta8 - try beta7.
Comment #2
skolesnyk CreditAttribution: skolesnyk commentedGot same error. Using latest dev. Where's beta7 listed? There's only latest 3.x devl listed on all releases page.
Comment #3
gdtic CreditAttribution: gdtic commentedWhen i use i18n in beta8 or rc1 version, i get this error.
Fatal error: Call to a member function get_translation() on a non-object in /var/www/clients/client0/web34/web/sites/all/modules/i18n/i18n_string/i18n_string.pages.inc on line 71
If i use beta7 i get an error too.
By the way, i, only, would like to translate my titles (of my views). Have i got any alternatives ways?
Comment #4
dilari CreditAttribution: dilari commentedsame here: using i18n rc1
"Fatal error: Call to a member function get_string() on a non-object in ..\sites\all\modules\i18n\i18n_string\i18n_string.pages.inc on line 62"
Comment #5
skolesnyk CreditAttribution: skolesnyk commentedIt's working fine on my installation -- try using latest dev version of Views , i18n and Internationalisation Views
Comment #6
Jerome F CreditAttribution: Jerome F commentedI have the same problem, with a new development site and I have finished a site where it's working well on the same acquia drupal stack multisite. I'm trying to figure out what's causing this.
Comment #7
webflo CreditAttribution: webflo commentedPlease read #1232748: PHP Fatal error: Call to undefined function i18n_string_translate_page() and #1251706: Fatal error function translate(): NEED TO CLEAR ALL CACHES and remove views_localization_plugin from variable table for further information. Feel free to reopen again if the provlem is still present.