• Resolved anand2064

    (@anand2064)


    Hi,

    I am trying to export all the comments. But after setting up and hitting “export comments” button the site logs the user out.

    P.S Tried add FTP settings as well. they reset too, and clear out. no error messages.

    Please help.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @anand2064,

    The issue you are facing is because the user with which you have logged in is not having the permissions. By default, only the administrator and the shop manager has the permissions to export/import using the plugin.

    Kindly make sure that the user is either an administrator or shop manager. We can also provide a custom code snippet to grant export/import permission to the current user. You may please update the plugin to the latest version(2.1.2) and copy the below code snippet to your active theme’s functions.php to grant export/import permission to the current user. Please make sure to replace the user role ‘admin’ in the snippet with your required one.

    add_filter('hf_user_permission_roles', 'add_additional_user_role',10,1);
    function add_additional_user_role($wf_roles)
    {
     array_push($wf_roles, 'admin'); 
    return $wf_roles; 
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Logs out when you hit export’ is closed to new replies.