WP - Update permissions to non-deprecated format
Running
- CiviCRM 5.71.1
- php 8.1.27
- version 1.99 of dataprocessor.php
This seems related to dataprocessor!125 (merged) which has been marked as fixed/closed. dataprocessor!125 (c2e6a487) I've checked and I'm already running this fix.
debug.log full of
PHP Deprecated: Permission 'xxxx' should be declared with 'label' and 'description' keys. See https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_permission/ Caller: CRM_Core_Permission::assembleBasicPermissions in /home/bertie/public_html/wp/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php on line 1129
The permissission xxxx above is one of
- CiviMobile backend access
- view Agenda
- see tags
- see groups
- CiviMobile backend access
- administer CiviDiscount
- can check in on event
If the calling method has been fixed, would the notices be caused by the extension code not passing the right arguments?