PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax;

Permalink 0 0 Browser Info Environment
Last few days I face a problem is my drupal websitehttp://www.smcindia.com, which I unable to resolve. I also report this issue in drupal.org but no result. I have update the security patches recommended by drupal few days back. After that I face lots of error. One the error is AJAX HTTP 500 error which appeared in my IDS -Product(content) page. I tried to update filters after I received this error. when I check in error log provide me this message:
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '))' at line 2: SELECT base.tid AS tid, base.vid AS vid, base.name AS name, base.description AS description, base.format AS format, base.weight AS weight, base.uuid AS uuid, v.machine_name AS ocabulary_machine_name FROM {taxonomy_term_data} base
INNER JOIN {taxonomy_vocabulary} v ON base.vid = v.vid WHERE (base.tid IN ())
; Array ( ) in DrupalDefaultEntityController->load() (line 205 of
/var/www/smcin/public_html/includes/entity.inc).
I waste lots of time in it but unable to resolve. Please help me. It affect
no. of page in my website. Please.
Image screenshot of error attached.

2 Attachments


Status: New

concrete5 Environment Information

Drupal 7.43, Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36