We are experiencing issues when trying to move or save a category in Magento 2.1.8
Trying to move a category results in:
There was a category move error.
Whilst trying to save gives this error:
Something went wrong while saving the category.
The following in the exception log is one clue:
main.CRITICAL: InvalidArgumentException: indexMethod must be one of in
/home/site/websites/www.xxxxxxxxxx.com/htdocs/vendor/magento/framework/DB/TemporaryTableService.php:103
The only other error being in the console:
VM1871:6 Expected to start loader but did not find one in the dom
I've found people with similar errors on Google, but none with this exception.
I've tried:
- Reindexing
- Clearing caches
- Recompiling
- Truncating the url_rewrite table
But nothing has worked.
Any help would be greatly appreciated.
Magento\Catalog\Controller\Adminhtml\Category\Save
.Find ` $this->messageManager->addError(__('Something went wrong while saving the category.'));` change to ` $this->messageManager->addError($e->getMessage());` tell message what is the issue – Amit Bera♦ Sep 22 '17 at 2:22