Active
Project:
Ubercart Userpoints
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2011 at 15:19 UTC
Updated:
25 Nov 2012 at 05:59 UTC
Hello, I have the following error
Unknown column 'referrer' in 'where clause' query: select updlog_id, points from uc_updiscounts where oid = 1810 and uid = 1 and referrer = 0 and discount =1 in /public_html/sites/all/modules/userpoints_ubercart/uc_userpoints_discount.module on line 282.
The error occurs when the admin user tries to delete an existing order.
My setup is :
Ubercart Userpoints 6.x-2.0-beta2
Ubercart 6.x-2.x-dev (2011-Oct-25)
Any help?
Thanks allot in advance
Comments
Comment #1
tr commentedConfirmed. Looks like you can just remove the "referrer = 0" portion of that query, but I have to do some testing to understand this code before I commit a fix.