Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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.