SQL Error: Integrity constraint violation: 1052 Column 'uid' in where clause is ambiguous:

Created on 19 December 2016, about 8 years ago
Updated 30 March 2023, over 1 year ago

Hi!
I have a smal error: when my module try to change your query it makes a exeption.
Add two chars, please:

Version: 7.x-1.x-dev
file: support.module
line: 3087
function _support_ticket_exists
change
->condition('uid', $account->uid)
to
->condition('n.uid', $account->uid)

simple.

May be we need the same change at line 595.
Sank you for your module.

P.S. The 8.x-1.x-dev has the same error in the file support_ticket.module line 553.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΎUruguay rusec

Live updates comments and jobs are added and updated live.
  • Quick fix

    Very small and simple change. Preferred over Quickfix.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024