Title: error in logs &#8211; Illegal string offset &#8216;capabilities&#8217;
Last modified: December 29, 2017

---

# error in logs – Illegal string offset ‘capabilities’

 *  Resolved [dgranja](https://wordpress.org/support/users/dgranja/)
 * (@dgranja)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-logs-illegal-string-offset-capabilities/)
 * I am using AAM Version 5.0.3 on two separate sites hosted by two separate companies.
   The same error is consistently being generated in the logs. Will this cause any
   problem of concern?
    Illegal string offset ‘capabilities’ Type: PHP Warning Line:
   441 File: /home/MY_SITE/public_html/wp-content/plugins/advanced-access-manager/
   Application/Backend/Filter.php

Viewing 1 replies (of 1 total)

 *  Plugin Author [AAM Plugin](https://wordpress.org/support/users/vasyltech/)
 * (@vasyltech)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-logs-illegal-string-offset-capabilities/#post-9822507)
 * Hi [@dgranja](https://wordpress.org/support/users/dgranja/),
 * Thank you for the message. Based on the error message, you have corrupted list
   of roles. Each WordPress role is a representation of role ID, role name and list
   of capabilities. You can find more info here [https://aamplugin.com/help/what-is-a-wordpress-role](https://aamplugin.com/help/what-is-a-wordpress-role).
   In your case some of the role on your website does not have any capabilities.
   It is most likely was either manually added or created by some third party plugin(
   not by AAM).
 * This does not affect AAM execution however if you want, you can download AAM 
   dev version from here [https://downloads.wordpress.org/plugin/advanced-access-manager.zip](https://downloads.wordpress.org/plugin/advanced-access-manager.zip)
   that takes in consideration corrupted role list like you have.
 * Happy New Year!
    Vasyl

Viewing 1 replies (of 1 total)

The topic ‘error in logs – Illegal string offset ‘capabilities’’ is closed to new
replies.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [AAM Plugin](https://wordpress.org/support/users/vasyltech/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/error-in-logs-illegal-string-offset-capabilities/#post-9822507)
 * Status: resolved