Home Forums WoodMart support forum Sorry, you are not allowed to delete this item.

Sorry, you are not allowed to delete this item.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #120858

    tomclayson
    Participant

    When I initially installed Woodmart, I imported a lot of the demo content to see how things could look. I now want to remove this the content (the pictures in the media library in particular), but whenever I try to delete anything, WordPress tells me “Sorry, you are not allowed to delete this item.” Using query monitor I can see

    “The message above was triggered by Core.

    Call stack:

    wp_die()
    wp-admin/upload.php:190”

    which is

    if ( ! current_user_can( 'delete_post', $post_id_del ) ) {
    					wp_die( __( 'Sorry, you are not allowed to delete this item.' ) );
    				}

    I am an admin, so surely I should be able to delete anything I want? What is happening here?

    #120897

    Hello,

    Please check the issue on one of the default themes to understand if our theme causes the problem.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)