Civicrm 5.25.0 and Wordpress 5.3.3

When I go to Add a Resource I get

Fatal error: Access level to CRM_Admin_Form_Resource::$_id must be public (as in class CRM_Admin_Form) in xxx/uploads/civicrm/ext/uk.co.compucorp.civicrm.booking/CRM/Admin/Form/Resource.php on line 40

Is there a way around it?

1 Answer 1


You could just remove the protected $_id = NULL; line in uploads/civicrm/ext/uk.co.compucorp.civicrm.booking/CRM/Admin/Form/Resource.php, since it's defined in the base class as public.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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