On my server I had to correct line 253:
if (count($this->getCorses()) == 1) {
by:
if ($this->getCorses()!="" AND count($this->getCorses()) == 1) {
because the script gave an error:
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in ..../vendor/microsoft/azure-storage-common/src/Common/Models/ServiceProperties.php:256
concern: vendor/microsoft/azure-storage-common/src/Common/Models/ServiceProperties.php
On my server I had to correct line 253: if (count($this->getCorses()) == 1) { by: if ($this->getCorses()!="" AND count($this->getCorses()) == 1) { because the script gave an error: Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in ..../vendor/microsoft/azure-storage-common/src/Common/Models/ServiceProperties.php:256