Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi JoeBarisa

    I also was satisfied with AAM until 3 days ago. Tonight I’m not so sure. I don’t precisely know if AAM is the culprit but for sure I suddenly couldn’t get into the backoffice with an Access Denied message. After a deep analysis I ended up with the conclusion that I had lost all the WordPress default roles, including the adminitrator role ! That was the reason behind the error message. The users were still there but the asociated roles had disappeared as you said !

    The good news is that I’ve managed to restore all the missing roles thanks to what I’ve found on the Net. Here ‘s how I proceeded:

    First I restored the missing administrator role by executing a script as described here: https://www.zensky.net/index.php/restore-wp-admin-role-using-advance-access-manager-plugin-1165.html – a FTP access to your site is required.

    Then I was able to access as an administrator to the backoffice. So far so good !

    I deactivated AAM and installed/activated the Capability Manager plugin that has the capability of restoring all WordPress default roles. Here is the link: https://ww.wp.xz.cn/plugins/capsman/

    At that point all roles were restored as expected and all is working fine now.

    Hope this helps.

    I solved the problem by deregistering WordPress registered hoverIntent JQuery function, like so:

    wp_deregister_script( 'hoverIntent' );

    I’ve put this just before the enqueuing done by the DropdownMenu plugin, in line 42 of /wp-content/plugins/dropdown-menu-widget/shailan.DropDownMenu.php

    So the code reads:

    wp_deregister_script( 'hoverIntent' ); <= added
    wp_enqueue_script( 'hoverIntent', plugins_url( '/scripts/hoverIntent.js' , __FILE__ ) , array('jquery') );

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