Closed (fixed)
Project:
UC Recurring Payments and Subscriptions
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Apr 2011 at 17:09 UTC
Updated:
13 Aug 2011 at 03:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
tr commentedIssue is with uc_recurring, not with Ubercart.
Comment #2
dfludd commentedI have the same error is there a fix for this? Thanks!
Fatal error: Call to undefined function uc_range() in /home/mysite/public_html/main/modules/ubercart/uc_recurring/modules/uc_recurring_product/uc_recurring_product.module on line 97
Comment #3
dave the brave commentedI got the same now, probably due to the separation of Ubercart and uc_recurring. Here's a quick fix:
Add the following function
Maybe there is more to it but it looks like it just takes a couple of values and creates an array of that range.
HTH
Comment #4
jrust commenteduc_range is gone in Ubercart 3/Drupal 7 because php 5.2 is minimally required and thus the PHP native range() function can be used.
Comment #5
univate commentedthanks, committed.