Error | Instrument Bibliometric National

Error

Error 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 MariaDB server version for the right syntax to use near ') ) x' at line 12: SELECT MAX(mx) AS mx_ani, MIN(mn) AS mn_ani FROM ( SELECT MAX(YEAR(n.published_on)) AS mx, MIN(YEAR(n.published_on)) AS mn FROM `ibn_result_publications` irp LEFT JOIN `ibn_person_result_publications` iprp ON iprp.result_publication_id = irp.id LEFT JOIN `ibn_person_orgunit_result_publication` r ON iprp.id=r.person_result_publication_id LEFT JOIN `ibn_journal_numbers` n ON n.id = irp.`journal_number_id` LEFT JOIN ibn_journal_founders ijf ON ijf.journal_id = n.journal_id WHERE r.orgunit_id IN(:id_0) AND irp.classification_id <> 8 AND ijf.orgunit_id NOT IN(:id_0) UNION ALL SELECT MAX(col.published_on) AS mx, MIN(col.published_on) AS mn FROM `ibn_result_publications` irp LEFT JOIN `ibn_person_result_publications` iprp ON iprp.result_publication_id = irp.id LEFT JOIN `ibn_person_orgunit_result_publication` r ON iprp.id=r.person_result_publication_id LEFT JOIN `ibn_collections` col ON col.id=irp.journal_number_id LEFT JOIN ibn_events ev ON ev.coll_id = col.id INNER JOIN ibn_events_organisations evorg ON evorg.event_id = ev.id WHERE r.orgunit_id IN(:id_0) AND irp.classification_id = 8 AND evorg.event_id NOT IN() ) x ; Array ( [:id_0] => 1570 ) in journals_events_view() (line 596 of /var/www/sites/idsi/ibn2014/trunk/sites/all/modules/statistic_nr_j/collections_events_view.page.inc).
The website encountered an unexpected error. Please try again later.