V1.5.7d
PHP 7.4
Just found a php warning in admin/attributes_controller.php. Its just a warning but I have no idea how to fix it.
count(): Parameter must be an array or an object that implements Countable in admin/attributes_controller.php on line 212
Line 212 for ($i = 0; $i < count($_POST['values_id']); $i++) {
PHP Code:
case 'add_product_attributes': $current_image_name = ''; for ($i = 0; $i < count($_POST['values_id']); $i++) { if (isset($_POST['values_id'][$i])) { $value_id = (int)$_POST['values_id'][$i]; } if (isset($_POST['options_id'])) { $options_id = (int)$_POST['options_id']; } if (isset($_POST['products_id'])) { $products_id = (int)$_POST['products_id']; }
Thanks
Bookmarks