Title: Error when install plugin
Last modified: March 6, 2019

---

# Error when install plugin

 *  [bosruben](https://wordpress.org/support/users/bosruben/)
 * (@bosruben)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-when-install-plugin-3/)
 * Hi,
    When I install your plugin, I get this error: Notice: Undefined offset: 
   0 in /home/fp/domains/fishpartners.nl/public_html/wp-content/plugins/advanced-
   access-manager/Application/Shared/Manager.php on line 451
 * Wordpress version: 5.1
    Wordpress theme: Bridge (version 17.2) Plugin AAM version:
   5.9.1

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [AAM Plugin](https://wordpress.org/support/users/vasyltech/)
 * (@vasyltech)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-when-install-plugin-3/#post-11288734)
 * Hi [@bosruben](https://wordpress.org/support/users/bosruben/),
 * Thank you so much for the message. In your case this is the code that failing
   on you (which should never be the case if everything is following recommended
   WordPress core rules):
 *     ```
       case 'edit_user':
       case 'delete_user':
           $caps = $this->authorizeUserUpdate($caps, $args[0]);
           break;
       ```
   
 * As you can see, something is checking if your current user has the capability
   _edit\_user_ or _delete\_user_; and it most certainly it does not provide the
   userID that should be in the `$args[0]`.
 * I will adjust AAM functionality to cover mistakes made by others however you 
   may try to deactivate all the plugins and switch to the default WordPress theme
   to find out what causing the issue.
 * Regards,
    Vasyl
 *  [promptweb2005](https://wordpress.org/support/users/promptweb2005/)
 * (@promptweb2005)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/error-when-install-plugin-3/#post-11389579)
 * I’m getting a similar error
 * Great plugin but when I installed the update I got the following error, so I 
   had to delete to get the web working.
 * Fatal error: Call to undefined function wp_parse_url() in /data/8/2/16/147/2505147/
   user/2743833/htdocs/liwp/wp-content/plugins/advanced-access-manager/Application/
   Shared/Manager.php on line 199

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error when install plugin’ 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [promptweb2005](https://wordpress.org/support/users/promptweb2005/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/error-when-install-plugin-3/#post-11389579)
 * Status: not resolved