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.
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 uid=4 AND type='advimage'' at line 1 query: SELECT nid FROM drgr_node WHERE nid in() AND uid=4 AND type='advimage' в файле /www/sites/all/modules/advimage/advimage_ref/advimage_ref.module в строке 206.
We need check array is empty there while doing implode and do not do db_query() if nothing to select.
Comments
Comment #1
Ilya1st CreditAttribution: Ilya1st commentedfixed in -dev