Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Bug in ServiceProperties.php #344

Open
FGalliot opened this issue Nov 9, 2022 · 0 comments
Open

Bug in ServiceProperties.php #344

FGalliot opened this issue Nov 9, 2022 · 0 comments

Comments

@FGalliot
Copy link

FGalliot commented Nov 9, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant