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 'AS , c. AS c_ FROM dr_ c WHERE (entity_id = '11659')' at line 1: SELECT c. AS , c. AS c_ FROM {} c WHERE (entity_id = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 11659 ) in cd_civicrm_contact_get_cd() (line 309 of /home4/laaneorg/public_html/Drupal/sites/all/modules/cd_sunlight/cd_civicrm/cd_civicrm.module)

Comments

dalin’s picture

Status: Active » Postponed (maintainer needs more info)

Can you give more information about what what you were trying to do, what you expected to happen, and what did happen.

My first guess is that you haven't yet configured the module.