Support

Home Forums Event Espresso Premium Espresso Master Admin can't login to wp dashboard

Espresso Master Admin can't login to wp dashboard

Posted: March 13, 2015 at 6:06 pm

Viewing 7 reply threads


jferguson

March 13, 2015 at 6:06 pm

I recently updated to Espresoo 3.1.37.1.P and now users with the role of “Espresso Master Admin” are not able to log into the wordpress dashboard.
Please advise.

Thank you,
Eric


Lorenzo Orlando Caum

  • Support Staff

March 13, 2015 at 6:27 pm

Hi Eric, are you using any additional plugins other than the roles and permissions add-ons to adjust the permissions for that role?

Also, could you double-check the role for one of those users and see if its set to Espresso Event Admin?

http://cl.ly/image/3w46152t1T02


Lorenzo


jferguson

March 15, 2015 at 9:54 pm

It looks like a conflict with Woocommerce 2.3.6 as when I deactivated Woocommerce the “Espresso Master Admin” users can login to the dashboard correctly.


Lorenzo Orlando Caum

  • Support Staff

March 16, 2015 at 9:55 am

Hi Eric, does this affect any other user roles?

Also, I’d like to try to duplicate this issue.

Do I install Woocommerce and I’ll immediately see the issue or are there additional plugins such as a roles plugin installed for Woocommerce?

Thanks


Lorenzo


jferguson

March 16, 2015 at 10:05 am

Lorenzo,

The same issue occurs with “Espresso Event Manager” and “Espresso Regional Manager”.

I don’t have a WooCommerce roles plugin installed, so if you install WooCommerce 2.3.6 I expect you’ll see the issue when logging on as one of the Espresso roles I mentioned above.

Also, I rolled back to WooCommerce 2.3.5 and everything works as it should, which is how I know it’s related to 2.3.6

Thanks,
Eric


Dean

March 17, 2015 at 2:23 am

Hi,

Not sure why this is the case, but please edit the user role via the EE User Roles menu and give the role the edit_posts capability. This will enable them to log in.

We have a ticket to look into this.


Dean

March 17, 2015 at 2:24 am

Hi,

Not sure why this is the case, but please edit the user role via the EE User Roles menu and give the role the edit_posts capability. This will enable them to log in.

We have a ticket to look into this.


Josh

  • Support Staff

May 28, 2015 at 5:55 pm

Hi Eric,

You can also add the following to a custom snippets plugin and it will allow admin access for the Espresso Master admin with WooCommerce activated:

function ee_do_not_prevent_admin_access_with_woocommerce() {
  return false;
}
add_action( 'admin_init', 'ee_allow_master_admin_admin_access_with_woocommerce');
function ee_allow_master_admin_admin_access_with_woocommerce() {
  if ( current_user_can( 'espresso_event_admin' ) ) {
    add_filter( 'woocommerce_prevent_admin_access', 'ee_do_not_prevent_admin_access_with_woocommerce' );
    add_filter( 'woocommerce_disable_admin_bar', 'ee_do_not_prevent_admin_access_with_woocommerce' );
  }
}
Viewing 7 reply threads

The support post ‘Espresso Master Admin can't login to wp dashboard’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso