• Resolved curlypinky

    (@curlypinky)


    We installed Store Manager earlier today and it worked great.

    I just finished running updates on our plugins, including updating to the latest version of WooCommerce. After the updates completed SM disappeared from the the admin menu. I tried deactivating and reactivating SM but when I activate the plugin it gives an error:

    “Sorry, you are not allowed to access this page.”

    I tried removing and re-installing but no luck, the error persists.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author storeapps

    (@storeapps)

    @curlypinky,

    Would like to update you that by default Smart Manager is accesible only by user roles having administrator privileges.

    So, looking at the error message provided by you, it seems that your user account doesn’t have administrator privileges. So, request you to kindly create a new administrator user account and then have a recheck with the same issue and do let us know your views on the same.

    Thread Starter curlypinky

    (@curlypinky)

    Well how incredibly strange. The account I was working under is the original administrator account setup when WP was installed. Yet that account cannot access Smart Manager. I created another admin account and I can see Smart Manager with the new admin account. Must be some messed up role info in the original account.
    Thanks!

    Thread Starter curlypinky

    (@curlypinky)

    Just to update again as others may encounter this issue – it was indeed the account capabilities. It seems that SM needs the user role to established first in the db table entry for the wp_capabilities meta_key field. In the case of my original admin account I had reset it’s Role at one point, which moved the role setting to the end of the meta_value. The account has some additional capabilities defined in the meta_key by Toolset Types so when that happened SM couldn’t see that the account was really an admin. I had to manually move the “s:13:”administrator”;b:1;” portion to the start of the meta_key and SM showed up in the menu where it should be.

    WORKS:
    a:13:{s:13:”administrator”;b:1;s:26:”wpcf_custom_post_type_view”;b:1;s:26:”wpcf_custom_post_type_edit”;b:1;s:33:”wpcf_custom_post_type_edit_others”;b:1;s:25:”wpcf_custom_taxonomy_view”;b:1;s:25:”wpcf_custom_taxonomy_edit”;b:1;s:32:”wpcf_custom_taxonomy_edit_others”;b:1;s:22:”wpcf_custom_field_view”;b:1;s:22:”wpcf_custom_field_edit”;b:1;s:29:”wpcf_custom_field_edit_others”;b:1;s:25:”wpcf_user_meta_field_view”;b:1;s:25:”wpcf_user_meta_field_edit”;b:1;s:32:”wpcf_user_meta_field_edit_others”;b:1;}

    DOESN’T WORK:
    a:13:{s:26:”wpcf_custom_post_type_view”;b:1;s:26:”wpcf_custom_post_type_edit”;b:1;s:33:”wpcf_custom_post_type_edit_others”;b:1;s:25:”wpcf_custom_taxonomy_view”;b:1;s:25:”wpcf_custom_taxonomy_edit”;b:1;s:32:”wpcf_custom_taxonomy_edit_others”;b:1;s:22:”wpcf_custom_field_view”;b:1;s:22:”wpcf_custom_field_edit”;b:1;s:29:”wpcf_custom_field_edit_others”;b:1;s:25:”wpcf_user_meta_field_view”;b:1;s:25:”wpcf_user_meta_field_edit”;b:1;s:32:”wpcf_user_meta_field_edit_others”;b:1;s:13:”administrator”;b:1;}

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Store Manager disappeared from admin menu’ is closed to new replies.