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 'AND irpd.domain_id =1' at line 4: SELECT COUNT(DISTINCT irp.id) FROM `ibn_result_publications` irp INNER JOIN `ibn_person_result_publications` iprp ON iprp.result_publication_id = irp.id INNER JOIN `ibn_journal_numbers` ijn ON ijn.id = irp.`journal_number_id` INNER JOIN `ibn_result_publications_domains` irpd ON irpd.result_publication_id = irp.id WHERE person_id = 15856 AND YEAR( ijn.`published_on` ) = AND irpd.domain_id =1; Array ( ) in getAurhorDomainYears() (line 2834 of /var/www/sites/idsi/ibn2014/trunk/sites/all/modules/Graph_Stacked/Graph_Stacked.module).
The website encountered an unexpected error. Please try again later.