0

I'm trying to prepare a site for migration to a new host, and the copy of the site I've set up on the new host is generating masses of warnings that I'm not seeing on the current production environment.

In Drupal's recent log messages I see line after line of:

Deprecated function: Array and string offset access syntax with curly braces is deprecated in require_once() (line 3 of /home/username/public_html/sites/default/files/civicrm/ext/com.agiliway.civicalendar/calendar.php).

Then I also have a file called error_log that has appeared in the Drupal root with the following at five minute increments (that is, every time cron runs):

PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in /home/username/public_html/sites/default/files/civicrm/ext/com.agiliway.civicalendar/calendar.civix.php on line 257

Drupal 7.92, CiviCRM 5.54.0, CiviCalendar 3.5.1. The old host was still on PHP 7.3, whereas this one is 7.4, so I'm assuming it's to do with that, but is there a fix?

1 Answer 1

1

There's a PR at https://github.com/agiliway/com.agiliway.civicalendar/pull/27. You can try it and if it works for you then comment on that PR and hopefully it will get merged and they'll make a new release.

1
  • No new errors for half an hour after integrating that, so I guess it's worked. Thanks! Commented Oct 19, 2022 at 10:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.