Having just upgraded a site to 5.47.2 and noting that PHP 7.4 is recommended I rashly took this seriously :) and ended up with 3 messages that splat themselves over the top of the majority of screensm making it unusable. Here's one: "Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/dcmadmin/public_html/sites/default/files/civicrm/ext/org.civicrm.flexmailer/flexmailer.civix.php on line 246" So I'm back with PHP 7.3 as I couldn't find a way to suppress them. So can these messages be supressed? This is a Drupal 7 install with error logging set to 'None' which obviously doesn't include these.

1 Answer 1


For the flexmailer one, note that flexmailer is now a core extension so you shouldn't have that copy in sites/default/files since it's outdated.

For other warnings, it's pretty much just extensions that have that curly braces warning now. Any extension that hasn't updated its *.civix.php files yet.

  • Thanks, so the flexmailer extension can be uninstalled?
    – Andy Clark
    Commented Mar 19, 2022 at 20:11
  • In theory that's all that's needed and then when the files are deleted and the extension reinstalled civi should find the core one, but I can't guarantee that's what happens in every install. I would temporarily move it somewhere instead of deleting in case the site completely borks and you need to put it back.
    – Demerit
    Commented Mar 19, 2022 at 20:14
  • Thanks for this, very helpful. I had the old Flexmailer 1.1.1 and now I've got the latest version.
    – Andy Clark
    Commented Mar 19, 2022 at 20:30
  • What do we do with extensions like Flexmailer that are now a part of core? I saw another thread that said to disable, uninstall, and reinstall. I did that for 7 extensions but I am still getting the messages. If it is a part of core, can we just disable and uninstall it? If so, what other extension are now included with core?
    – Iowa Boy
    Commented Sep 7, 2022 at 16:57
  • Which messages are you getting. The original topic here was about the Array and string offset access syntax with curly braces is deprecated. There's plenty of other deprecation messages that might still be around that need separate type of handling.
    – Demerit
    Commented Sep 7, 2022 at 18:33

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.