cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to delete products

Unable to delete products

Hi there everyone,

 

Hoping someone can assist with a peculiar problem that I haven't had any success in tracking down. When trying to delete products from the catalog, we receive an error. This occurs on various types of products, from virtual products, simple products, configurable products, with no relation to other products or even any data in the product itself. This is on a relatively new installation of 2.3.2.

 

Here's the error message we get on the front end:

There has been an error processing your request
The "TEST PRODUCT" product couldn't be removed.
Error log record number: 219402939152

This is the text of the exception in the reports directory:

{
    "0": "The \"TEST PRODUCT\" product couldn't be removed.",
    "1": "<pre>#1 Magento\\Catalog\\Controller\\Adminhtml\\Product\\MassDelete->execute() called at [vendor\/magento\/framework\/App\/Action\/Action.php:108]
        #2 Magento\\Framework\\App\\Action\\Action->dispatch(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#) called at [vendor\/magento\/module-backend\/App\/AbstractAction.php:231]
        #3 Magento\\Backend\\App\\AbstractAction->dispatch(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]
        #4 Magento\\Catalog\\Controller\\Adminhtml\\Product\\MassDelete\\Interceptor->___callParent('dispatch', array(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#)) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]
        #5 Magento\\Catalog\\Controller\\Adminhtml\\Product\\MassDelete\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#) called at [vendor\/magento\/module-backend\/App\/Action\/Plugin\/Authentication.php:143]
        #6 Magento\\Backend\\App\\Action\\Plugin\\Authentication->aroundDispatch(&Magento\\Catalog\\Controller\\Adminhtml\\Product\\MassDelete\\Interceptor#0000000029647274000000003e6a0177#, &Closure#0000000029647241000000003e6a0177#, &Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135]
        #7 Magento\\Catalog\\Controller\\Adminhtml\\Product\\MassDelete\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]
        #8 Magento\\Catalog\\Controller\\Adminhtml\\Product\\MassDelete\\Interceptor->___callPlugins('dispatch', array(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#), NULL) called at [generated\/code\/Magento\/Catalog\/Controller\/Adminhtml\/Product\/MassDelete\/Interceptor.php:26]
        #9 Magento\\Catalog\\Controller\\Adminhtml\\Product\\MassDelete\\Interceptor->dispatch(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#) called at [vendor\/magento\/framework\/App\/FrontController.php:159]
        #10 Magento\\Framework\\App\\FrontController->processRequest(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#, &Magento\\Catalog\\Controller\\Adminhtml\\Product\\MassDelete\\Interceptor#0000000029647274000000003e6a0177#) called at [vendor\/magento\/framework\/App\/FrontController.php:99]
        #11 Magento\\Framework\\App\\FrontController->dispatch(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]
        #12 Magento\\Framework\\App\\FrontController\\Interceptor->___callParent('dispatch', array(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#)) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]
        #13 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]
        #14 Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins('dispatch', array(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#), array(array('default_store_se...', 'page_cache_from_...', 'storeCookieValid...', 'install', 'configHash'))) called at [generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php:26]
        #15 Magento\\Framework\\App\\FrontController\\Interceptor->dispatch(&Magento\\Framework\\App\\Request\\Http#00000000296476f3000000003e6a0177#) called at [vendor\/magento\/framework\/App\/Http.php:137]
        #16 Magento\\Framework\\App\\Http->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:261]
        #17 Magento\\Framework\\App\\Bootstrap->run(&Magento\\Framework\\App\\Http\\Interceptor#000000002964760f000000003e6a0177#) called at [index.php:39]\n<\/pre>",
    "url": "\/magento\/admin_s48a1\/catalog\/product\/massDelete\/key\/59cf992ab24157037c893c4a8e09ffc7570a78a1e070ee922b78a3f2bed5ce0e\/",
    "script_name": "\/magento\/index.php"
}\/framework\/App\/Bootstrap.php:261]\n#17 Magento\\Framework\\App\\Bootstrap->run(&Magento\\Framework\\App\\Http\\Interceptor#000000002964760f000000003e6a0177#) called at [index.php:39]\n<\/pre>",
    "url": "\/magento\/admin_s48a1\/catalog\/product\/massDelete\/key\/59cf992ab24157037c893c4a8e09ffc7570a78a1e070ee922b78a3f2bed5ce0e\/",
    "script_name": "\/magento\/index.php"
}

Honestly, having a bit of a hard time deciphering the exception text. Can anyone provide any insight? I'm happy to provide any clarification - please just ask.

 

Really appreciate the help. Thanks so very much.

 

1 REPLY 1

Re: Unable to delete products

I'm getting the same issue after upgrade to 2.3.5.
any solution?