Recently a client contacted us with this message:

We updated CiviCRM on the 5th Dec to 5.19.4 but the cron jobs stopped when
we did this.

The error message from the Control Panel is

Warning: Unsupported declare ‘strict_types’ in
/home/username/www/www/sites/all/modules/civicrm/vendor/league/csv/src/functions.php
on line 12
Parse error: syntax error, unexpected ‘:’, expecting ‘{‘ in
/home/username/www/www/sites/all/modules/civicrm/vendor/league/csv/src/functions.php
on line 33

We fixed this by updating the PHP version of their cron job to 7.2.

Leave a Reply

Your email address will not be published.