I get the "Undefined index: inventory_source" error, what should I do?
In the Store Pickup with Locator extension, there's an optional Amasty_StorePickupWithLocatorMSI module which is related to the default Magento inventory functionality. The "Undefined index: inventory_source" error during running the 'setup:upgrade' command may appear when the Magento_Inventory modules are disabled:
You may check the statuses of all the modules on your instance by running the following command:
php bin/magento module:status
To enable/disable a module, use the corresponding command:
php bin/magento module:enable ModuleName
php bin/magento module:disable ModuleName
Alternatively, in case you don't need the functionality of the Amasty_StorePickupWithLocatorMSI module, you may disable it and remove the amasty_amlocator_location_inventory_source table from the Database.
The Database table can be removed either by running the 'DROP TABLE table_name' SQL query or manually:
Related Articles
Store Locator | GraphQ methods
Queries amStoreLocatorAttributesToFilter description: get location attributes searchAmStoreLocations (filter: AmStoreLocationsFilterInput, pageSize: Int, currentPage: Int = 1) description: search all locations with filter Mutations ...
What's the difference between Store Pickup, Store Locator and Store Pickup with Locator?
Our Store Pickup extension adds a new free shipping method on the storefront and allows users to choose store pickup at checkout. You may add multiple points of sales and, on the storefront, the extension will automatically detect the nearest store ...
Store Pickup with Locator
1. Amasty\StorePickupWithLocator\Api\GuestLocationPickupValuesInterface - class for managin store pickup for guests: POST /V1/amstorepickup/:cartId/saveSelectedPickupValues, method="saveSelectedPickupValues" - deprecated query, retained for backward ...
When I enable debug mode, cache status is Undefined. Does the extension work?
If cache status is Undefined, it usually means that a third-party caching tool is used. The extension is unable to identify the caching tool and, therefore, whether the page is cached or not. For example, the FPC Warmer works this way with Varnish ...
What to do if the map isn't loaded or there're exclamation marks in the address line?
If the map isn't loaded or/and there are exclamation marks in the address line, firstly, you may check the Console log. Usually, it contains the error that causes the issue with additional information on resolving the misbehavior: Alternatively, you ...