SyntaxFix
Write A Post
Hire A Developer
Questions
I got the same error message before. in my case, it was caused by type casting. check if siteID is a string, if it is you must add simple quotes.
hope it will help you.