Error: Class 'Civi\Firewall\Services' not found in firewall_civicrm_container()
This error is logged when I enable or disable Firewall on a Drupal 7 CiviCRM 5.57 website.
The error is as follows:
Error: Class 'Civi\Firewall\Services' not found in firewall_civicrm_container() (line 30 of /sites/default/files/civicrm/extensions/firewall/firewall.php).
I can't see anything in the code that is obvious. It might be that As of CiviCRM version 5.27 CiviCRM now uses Symfony v3.4 or v4.4and that there is an important change which is that in v3.3 Symfony services are now considered by default to be private?
The website in question is as follows:
- Firewall 1.5.8
- Drupal 7
- CiviCRM 5.57 website
- PHP version 7.4.33