I have just upgraded my Drupal 6 site to the latest CiviCRM 4.7.4 All seemed to go well except that when I try to export contact records (using primary fields). I get the following fatal error:
Fatal error: Can't use function return value in write context in ../public_html/sites/all/modules/civicrm/CRM/Export/BAO/Export.php on line 435
Steps I followed: 1. Search for contacts 2. Select Export option 3. Select Export Primary fields 4. Press continue
Some help would be hugely appreciated!