magento2-module-store-locator icon indicating copy to clipboard operation
magento2-module-store-locator copied to clipboard

Invalid argument supplied for foreach() $retailerIds on `vendor/smile/module-store-locator/Controller/Adminhtml/Retailer/MassSaveHours.php`

Open tuyennn opened this issue 4 years ago • 0 comments

Preconditions

Magento Version : 2 All versions

Module Store Locator Version : 2.0.7

Environment : All

Third party modules : Doesn't matter

Steps to reproduce

  1. Select All Retailer from Grid for enabling or Mass Editing Opening Hours
  2. Got Invalid argument supplied for foreach() on vendor/smile/module-store-locator/Controller/Adminhtml/Retailer/MassSaveHours.php
  3. 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

  1. All the Retailer should be updated opening hours without any problem

Actual result

  1. [Screenshot, logs] Invalid argument supplied for foreach() on vendor/smile/module-store-locator/Controller/Adminhtml/Retailer/MassSaveHours.php

tuyennn avatar Jan 18 '22 10:01 tuyennn