Broken with current 5.x-dev views
atelier - June 10, 2008 - 18:51
| Project: | Views Tagadelic |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Description
I just updated Views to the 2008-05-10 dev version because the latest Date module requires it. This causes a conflict with Views Tagadelic. Here is the error message:
Fatal error: Call to undefined function _views_replace_args() in /pathtosite/sites/all/modules/tagadelic_views/tagadelic_views.module on line 83
I updated Tagadelic Views to the 2008-05-15 dev version but that didn't fix the problem. Any ideas?
P.S. The error message above is from the Tagadelic Views dev version. I received a similar message with TV 5.x-1.0 but I believe the error was on line 75.

#1
What version is 2008-05-10? v6.x-2.0-beta3 is 2008-05-20 and v5.x-1.6-beta5 is 2007-05-05.
If you installed the v6.x-2.0-beta3 of Views then I think you problem is that there isn't a v6 version of Views Tagadelic yet (AFAIK).
If you installed the v5.x-1.6-beta5 of Views then why go for that and not the full fat v5.x-1.6 - which does have _views_replace_args() in it?
Either way, I don't think your problem is the Views Tagadelic module.
#2
It's the Views 5.x-1.x-dev version dated 2008-05-10. I had been using Views 5.x-1.6 and Tagadelic Views together with no problems. The reason I updated Views is because the Date module needs a version dated January 2008 or later.
Do you know if any changes were made to that function for later development versions of Views?
#3
Ah yes, I see it now, sorry about that - I was looking at the release date (which is 2006-12-05).
Hmm... not sure what is going on there. I wouldn't use that if I were you. I also note that Date's comment about Views seems to be about the v6 version of Date using the v6 dev version of Views.
In any case, here is what works for me:
Hope that helps.
#4
Regarding the Views version, there are two references on the project page. The one you cite is definitely for D6. The one that prompted me to update is listed under "Important Notices" further down the page. It doesn't specifically reference D5 so I'm not exactly sure of the recommendation. In any case, I've already moved to the D5 dev version of Views so I'll stay with that and hold off deploying Views Tagadelic until any updates are made. Thanks for your feedback.
#5
Just confirming that tagadelic_views is still broken in the latest views 5.x-dev version. The reason is that the _views_replace_args() function was removed (permanently, it appears) in http://drupal.org/node/165611
I am not sure what the workaround is...hopefully there is one out there!
#6
OK, this is the simplest fix I think, and should support both the stable and dev branch for views.
#7
has anyone tested this patch and is it still an issue?
#8
Confirmed; patch works. This is critical as the module is completely broken without it.
#9
Part of lastest D5-dev. Please review.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.