1

After installing the latest version of CiviCRM (5.56.1) I cannot open my website anymore and log is showing this message:

Got error 'PHP message: Uncaught PHP Exception Exception: "Serialization of 'Closure' is not allowed" at /data/sites/web/instituutvlaamsevolkskunstbe/cms-install/4466-instituut-voor-vlaamse-volkskunst/production/vendor/civicrm/civicrm-core/CRM/Extension/ClassLoader.php line 85'

and drush cr returns:

Serialization of 'Closure' is not allowed

Drupal version 9.5.0 PHP version 7.4.33

I cannot find anything related

Thanks, Stefaan

1
  • This did the trick ... > EDIT: composer 2.5.1 just released fixes it. composer self-update, then run composer install on the site to update the classloader. Thanks for your assistance ! Stefaan
    – Stefaan H
    Dec 24, 2022 at 13:24

1 Answer 1

2

Composer 2.5.1, just released, fixed this. Run composer self-update, then composer install on the site to update the class loader.

Composer 2.5 is not compatible with civi, yet. Use composer self-update --rollback for now; then run composer install again on your site.

1
  • Hello Demerit, thanks for the info. the rollback fails ... any ideas on that ? Is there another way to roll back ?
    – Stefaan H
    Dec 24, 2022 at 13:17

Your Answer

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

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