After Saving permissions, I get

Notice: Undefined index: administrator in /wp-content/plugins/civicrm/civicrm/CRM/ACL/Form/WordPress/Permissions.php on line 154 Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/civicrm/civicrm/CRM/ACL/Form/WordPress/Permissions.php:154) in /wp-content/plugins/civicrm/civicrm/CRM/Utils/System/Base.php on line 926

WordPress Version: 4.9.8 CiviCRM Version: 5.5.1
I have fixed it temporarily by adding the following code in the /wp-content/plugins/civicrm/civicrm/CRM/ACL/Form/WordPress/Permissions.php on line 154

if (isset($params[$role])){
    $rolePermissions = $params[$role];
    if (!empty($rolePermissions)) {
      foreach ($rolePermissions as $key => $capability) {

Related Question: How to allow logged in user to view their own civicrm contact dashboard in wordpress?

Your Answer

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

Browse other questions tagged or ask your own question.