Projekt

Allgemein

Profil

GX-Bug #69973

Von Josua Michalak vor mehr als 1 Jahr aktualisiert

### With **PHP 8.1** if you have a product with the 'Soon' ribbon, you get an error on the start page of your shop if the product is shown there. 

 --- 

 **Steps to reproduce:**  
 1. Install 4.7.1.0 beta1 under PHP 8.1.x 
 2. Edit a product thats shown on the start page. 
 3. Set the 'Date Available' property to something in the future.  
 4. Open the front page of the shop. 

 **Expected result:** 
 The shop should show the product as usual with the "Soon" ribbon. 

 **Actual result:** 

 The shop throws unexpected error regarding 
 ``` 
 CRITICAL: mktime(): Argument #1 ($hour) must be of type int, string given 
 src/GXMainComponents/SmartyPlugins/function.product_ribbons.php:250 
 ```

Zurück