Viewing 3 replies - 1 through 3 (of 3 total)
  • vasyl_m

    (@vasyl_m)

    Hi Martin,
    This might be ok if you are using AAM API. Otherwise disabling the init_wpaccess is equal to deactivating the AAM as Plugin.

    Regards,
    Vasyl

    Hello Vasyl,

    this is a complex plugin, but it works well in wp-admin. So we ended up using both

    remove_action('set_current_user', 'aam_set_current_user');
    remove_action('init', 'init_wpaccess');

    if not in wp-admin. That way we have control over what users see in wp-admin, but the plugin is not causing any issues on front-end.

    We only do this outside of wp-admin, so it’s not the same as turning the plugin off. We disabled the aam_set_current_user hook as our users were loosing their custom capabilities in sidebar on front-end. I was not able to find the conflicting plugin.

    Thanks,
    Martin

    Hello Vasyl,
    i use your plugin on more sites.. mostly working fine..
    but on last project i see when i activate plugin there is a about 1000 – 1500 queries more than without plugin.. only one extrem i know about is that on this site we have a 150 categories..(( when i deactivate plugin site have a only 150 queries..

    what do you think about it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Too much SQL queries’ is closed to new replies.