Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-3.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
17 Aug 2011 at 13:56 UTC
Updated:
26 Feb 2015 at 19:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
cloporto commentedI have been trying to fix it for 5 hours, and nothing.
Any help will me more than appreciated!!
Comment #2
guictx commentedIt's happening to me after updating i18nviews to latest dev.
Disabling the module solves the problem.Disabling and uninstalling the module doesn't solve the problem!Comment #3
dawehnerFirst i would take sure that you have
a) the latest views
b) the latest i18n version
c) the latest version of i18nviews
If you really need help, please read http://drupal.org/node/571990 to provide actual informations.
Without informations the bug can't be reproduced and without this it does not really exist.
Comment #4
W.M. commentedsubscribe..
I need those i18n modules and variable module so Views would hopefully be able to return the text associated with Taxonomy Term ID as View's page title (using contextual filter and %1 argument). Correct me if this is not the way to set a term-based view title ?!
Comment #5
webflo commentedRelated issue in i18nviews: #1251706: Fatal error function translate(): NEED TO CLEAR ALL CACHES and remove views_localization_plugin from variable table
Comment #6
cpelham commentedI got this error out of the blue today. I then updated to the latest dev versions of Views, CTools, i18n, and Views Internationalization (which was not even turned on), ran the updater and emptied all the cache tables view phpmyadmin, and I still get the white screen of death seemingly on all pages but update.php (with this error message). This was a live site that just got hosed, despite the fact that I had not updated any modules or core or anything. Went to be with it working fine and woke up to white screen of death...
Comment #7
dawehnerDoes this fix the issue for you?
Comment #8
dawehnerAlternative try out this patch.
Comment #9
1kubik commenteddear dereine
thanks a lot!
this foo.patch fixed ist for me
Internationalization 7.x-1.0
Internationalization Views 7.x-3.x-dev
regards
stef
Comment #10
dawehnerI would like to have some feedback from earl here.
Patch foo: Always initialize at least the none localization plugin.
Patch bar: Check for the localization plugin before executing a function on it.
Comment #11
tobias englert commentedsub
Comment #12
LTech commentedI tried updating from views-7.x.-3.x-dev to 7.x-3.0-rcl and I got the error: Fatal error: Call to a member function translate() on a non-object I reverted back to the old view so my site is up, but I would like to update.
I tried applying the foo.patch but I couldn't find the file to put it in. Where does it go? In the views module or i18n? Thanks
Comment #13
julien.reulos commentedHi,
The foo.patch gives me the following error:
Fatal error: Call to a member function init_display() on a non-object in /home/maoastyl/public_html/sites/all/modules/views/plugins/views_plugin_localization.inc on line 133The bar.patch works great.
I'm working with views-7.x-3.x-dev.tar.gz (17/01/2012) and i18nviews-7.x-3.x-dev.tar.gz (08/01/2012).
Thanks dereine !
Comment #14
dawehnerIt would be really cool if you could write print_r(views_trace()) in front of line 133
This should somehow show how this function is called here. This could help a big amount to fix the actual problem.
Comment #15
julien.reulos commentedOk, the output is this:
Comment #16
shaisamuel commentedI had the same problem today, using views 3.3 and i18n 1.4 installed, without i18nviews installed. When running clear all cashes I got the same error. I applied the patch of #7 and problem disappear.
Can patch #7 be included in the next dev release?
Comment #17
tim.plunkettThe patch in #7 (foo) makes more sense to me.
Comment #18
tim.plunkettTriggering the testbot.
Comment #19
dawehnerJust committed foo.
Thank @tim.plunkett for pushing this issue.
Comment #20
catch6.x-3.x version, just re-rolled for offset.
Comment #22
dawehnerMh, that patch did not applied anymore but well, here is the patch which got applied.
Committed to 6.x-3.x and pushed