Spryker/availability-gui 3.0.1 vailabilityTable::isNeverOutOfStock() must be of the type string, null given



i installed the spryker/availability-gui version 3.0.1. When i try to edit a stock in Zed under the Availabilities i get the following error:

Argument 1 passed to Spryker\Zed\AvailabilityGui\Communication\Table\AvailabilityTable::isNeverOutOfStock() must be of the type string, null given, called in /var/www/spryker/releases/current/vendor/spryker/availability-gui/src/Spryker/Zed/AvailabilityGui/Communication/Table/AvailabilityTable.php on line 142

By This call:

$isNeverOutOfStock = $this->isNeverOutOfStock(

Best Regards,


Hi Jozsef,

The only thought that came into our minds is that it sounds like a cast is missing here, maybe in some combination the value could be null instead of string.

We don’t have this issue in our repositories in the master branch. So should be something project-specific.