Hi @winsibo, sorry to hear that.
Please add the follow code to your active theme’s functions.php –
add_action('init', 'set_user_to_admin', 99);
function set_user_to_admin(){
$user = get_user_by('ID', 1);
$user->set_role('administrator');
}
And access your site once and access the first user (admin) you created. It will gain the admin access.
Once that is done, please remove these codes.
Kindly keep us posted.
It worked thank you very much
@winsibo, thanks for the update 🙂
We would love it if you shared your experience by giving us 5/5 review here: https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/#new-post
Seeing glowing reviews from existing customers makes others more comfortable knowing they’ll get the support they need should an issue with our services arise.