• Resolved northwst

    (@northwst)


    Hi,

    When I go to Options and select and option or two, then go to Bulk Actions > Delete, I keep getting this error: Security check failed!

    I’m not sure what exactly this means, and how to fix it.

    Advanced DB Cleaner?3.1.2

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Younes JFR.

    (@symptote)

    The error message “Security check failed!” usually occurs when the plugin is unable to verify the user’s permission to perform the selected action.

    Please check your permissions and ensure that you have the necessary capability to perform the selected action. Only an ‘Administrator’ user can perform such actions.

    Thread Starter northwst

    (@northwst)

    This makes sense. I’ve started having similar issues with another plugin, where I get “Sorry, you are not allowed to edit posts in this post type.”. I suspect it’s the same problem, although I’m the admin.

    I appreciate that this becomes outside of your plugin’s support, but do you have any suggestions on how I can “reset” the rights for Administrator? I created another admin user but still the same outcome.

    Thanks for your time.

    Plugin Author Younes JFR.

    (@symptote)

    Here are a few things you can try to troubleshoot:

    1. Check the user roles: Make sure that the user account you’re logged in with has the Administrator role. You can check this by going to Users > All Users in the WordPress dashboard, and looking at the role column.
    2. Disable other plugins: If you’re still having permission issues after confirming your user role, it’s possible that another plugin is conflicting with your current plugin. Try deactivating other plugins temporarily to see if that fixes the issue.
    3. Reset the user capabilities using this SQL queries:

    SELECT * FROM wp_users WHERE user_login='admin';

    (Change ‘admin’ by your admin username. Then copy the user ID)

    SELECT * FROM wp_usermeta WHERE user_id=ID AND meta_key='wp_capabilities';

    (Change ID by the ID number from the first query, then copy the ID of this user-meta)

    UPDATE wp_usermeta SET meta_value='a:1:{s:13:"administrator";b:1;}' WHERE umeta_id=UMI LIMIT 1;

    (Change UMI by the ID of the user-meta)

    I hope this helps answer your question. If none of these solutions work, you may need to seek help from a developer or your web host to resolve the issue.

    Thread Starter northwst

    (@northwst)

    Thank you for taking the time to put these steps, it’s much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Security check failed!’ is closed to new replies.