cividesk / com.cividesk.email.sparkpost

This extension allows CiviCRM to send emails and process bounces through the SparkPost service.
10 stars 30 forks source link

Installation fails with PHP fatal error (PHP versions > 7.3) #100

Closed mark-orion closed 3 years ago

mark-orion commented 3 years ago

The problem: PHP bails out with a blank page in the browser and with the following error in the log: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in....

The fix is to get rid of the curly braces in line 155 of /civicrm/ext/com.cividesk.email.sparkpost/sparkpost.civix.php Line 155 should look like this: if ($entry[0] == '.') {

nganivet commented 3 years ago

@mark-orion Thanks, fixed with the latest commit