Projekt

Allgemein

Profil

GX-Bug #70129

Von Moritz Bunjes vor mehr als 1 Jahr aktualisiert

Updating a GX 4.4 shop with properties without values options runs into an error in the 4.5.1.0 update, if PHP 8 is in use. 

 gambio_updater/updates/v4.5.1.0/product_variants_migration.php:201 
 ``` 
 if (count($propertyValues[$propertyId])) { 
 ``` 
 `$propertyValues[$propertyId])` can be null, so count will run into an error. `!empty()` should be used instead.

Zurück