Hey guys,

The details of the bounty can be found here, but I'll copy+paste it here all the same.

I'm having trouble getting this D7 port of Ubercart Userpoints to work for my D7 Ubercart site, and I'm using Drupal 7.9, Rules 7.x-2.0, Ubercart 7.x-3.x-dev (2011-Dec-01), and User Points 7.x-1.0 (along with the D7 port of this module in comment #29). When trying to "Review Order" in my checkout page, I encounter the following error message (white page with the error message) at this page /cart/checkout/review:

Fatal error: Cannot pass parameter 3 by reference in E:\htdocs\URL.com\sites\all\modules\ubercart\uc_cart\uc_cart.pages.inc on line 343

I'm also encountering the following error messages throughout the site:

Notice: Undefined variable: curUserId in include_once() (line 219 of E:\htdocs\URL.com\sites\all\modules\userpoints_ubercart\uc_userpoints_award.module).
Notice: Undefined variable: refUserId in include_once() (line 249 of E:\htdocs\URL.com\sites\all\modules\userpoints_ubercart\uc_userpoints_award.module).

I'd like to offer a $50 bounty if you could help me to get the errors fixed and get this module working perfectly on my site.

Comments

WorldFallz’s picture

Usually the pass by reference error has to do with modules on php 5.3 instead of 5.2-- however, based on the message you posted it appears to be an ubercart error, not userpoints-- maybe try the ubercart issue queue.

EDIT:
actually, the first thing i would try is updating ubercart to the latest dev (it's dated 12/5).

Quarantine’s picture

Thanks for the response!

I just updated Ubercart to 12/6 but the same problem still persists - personally I've a feeling this module needs to undergo a rewrite from scratch and may not fit under the scope under this bounty. I think I'll create a new thread. :)