Generating a feed returns an error "Something went wrong: SQLSTATE[42S02]: Base table or view not found: 1146 Table '****inventory_stock_1' does not exist". How to fix this issue?
This error occurs when the inventory module is enabled, yet the inventory is not used. The issue can be resolved by adjusting the InventoryResolver.php file that is located either in the app/code/Amasty/Feed/Model/ or vendor/amasty/feed/Model/ directory.
Please open the file and find the following line: return $this->moduleManager->isEnabled(self::MAGENTO_INVENTORY_MODULE_NAMESPACE);
In that line, add "false; //" after return
Should you require any assistance with adjusting the file, please do contact our Support Team.
Related Articles
Generating a feed returns an error: "Something went wrong: Couldn't lock indexer. Reindex in progress". How to fix?
This message indicates that during the generation of the feed, its indexers are currently in progress, in the Processing status. Before proceeding with the next steps, please make sure to update the extension to version 2.8.0, where we significantly ...
Generating a feed returns an error "There are no products to generate the feed". How to fix this issue?
This is one of the common errors, yet the troubleshooting process is quite simple. First, double-check the settings in the General and Conditions tabs in order to make sure that those configurations are valid and do not contradict each other. General ...
Can I output products based on the source or stock in the feed?
Product Feed extension, by default, supports product output based on the store view only, meaning that it is not possible to select a particular stock or source. Nevertheless, it is possible to exclude products with the Out of Stock status in the ...
How to fix the Magento 2.4.5 Layered Navigation showing incorrect results issue?
After upgrading Magento to version 2.4.5 you can see the error: TypeError: Magento\Elasticsearch\Model\ResourceModel\Fulltext\Collection\SearchResultApplier::categoryProductByCustomSortOrder(): Argument #1 ($categoryId) must be of type int, array ...
Test connection fails with error "Unable to open SFTP connection as...", what might be the issue?
This error message appears as a result of an unsuccessful test connection. First thing is to double-check the credentials from the FTP settings tab. There's a chance that one of these values was entered with a typo, either the password or user name ...