Fatal error: Call to undefined function uc_cart_get_id() in sites/all/modules/contrib/uc_views/views/uc_views.views.inc on line 1000

CommentFileSizeAuthor
#1 uc_views-1008188.patch1.62 KBjrglasgow

Comments

jrglasgow’s picture

StatusFileSize
new1.62 KB

uc_cart_get_id() function in in uc_cart module, but the uc_cart module is not a dependency of this module

longwave’s picture

Status: Active » Fixed

Thanks for the patch, but I'm not sure uc_cart should be a dependency; instead, I added some code around the offending line to check if uc_cart is enabled first, which seems to work on my setup.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

socialnicheguru’s picture

Status: Closed (fixed) » Active

Sorry for re-opening but this issue still persists.

When packaged with features(http://drupal.org/project/features, uc_views causes a white screen of death for the error above.

I have to manually go in and enable uc_cart first.

I suspect it would also happen when someone is using the install_profile module

mradcliffe’s picture

You probably need to use the dev. version to fix this. Any news on a new release? 6.x-3.2?

longwave’s picture

Status: Active » Fixed

6.x-3.2 will be released very soon.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.