Jump to content

SQL Error from cron select * frmo tbltickets status IN clause empty


Recommended Posts

After upgrading from WHMCS 6.3.2 to WHMCS 7.10.3, I am getting a SQL error every 5 minutes (from cron running).

The cron running every 5 minutes is causing the following error to be logged.

The status field is empty:

SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND lastreply > '2020-12-08 09:40:04' AND lastreply <= '2020-12-08 09:45:05'' at line 1 - Full Query: SELECT * FROM tbltickets WHERE merged_ticket_id = 0 AND did IN (1) AND status IN () AND lastreply > '2020-12-08 09:40:04' AND lastreply <= '2020-12-08 09:45:05'

Any idea on how to fix issue?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated