• 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

    (@vasyltech)

    Hi @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

    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.