magento2-module-store-locator
magento2-module-store-locator copied to clipboard
Invalid argument supplied for foreach() $retailerIds on `vendor/smile/module-store-locator/Controller/Adminhtml/Retailer/MassSaveHours.php`
Preconditions
Magento Version : 2 All versions
Module Store Locator Version : 2.0.7
Environment : All
Third party modules : Doesn't matter
Steps to reproduce
- Select All Retailer from Grid for enabling or Mass Editing Opening Hours
- Got
Invalid argument supplied for foreach()onvendor/smile/module-store-locator/Controller/Adminhtml/Retailer/MassSaveHours.php - Seem the mass action doesn't determine the Select All. As far from the code review we just realize it just collect the parameter
retailer_ids
Expected result
- All the Retailer should be updated opening hours without any problem
Actual result
- [Screenshot, logs]
Invalid argument supplied for foreach()onvendor/smile/module-store-locator/Controller/Adminhtml/Retailer/MassSaveHours.php