Closed SebSept closed 2 years ago
Type error: Argument 1 passed to FOP\Console\Commands\Product\ProductLatest::formatProductInformation() must be of the type array, boolean given, called in /.../PrestaShop-1.7.5.x/modules/fop_console/src/Commands/Product/ProductLatest.php on line 51
Fop console version
1.7.5
Your server php version (7.2+)
This is because Product::getNewProducts(1); returns 'false' when there's no new products.
Product::getNewProducts(1);
Describe the bug
Fop Console Version
Fop console version
Prestashop Version
1.7.5
Php Version
Your server php version (7.2+)