Fatal error if CiviEvent is disabled
On a site where CiviEvent is not enabled, this fatal error messages is given at /civicrm/admin/setting/formprotection
Event API is not available because CiviEvent component is disabled
After enabling CiviEvent, the page opens without error.