Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error PHP8.1 Azure Storage #3

Open
tairolima opened this issue Dec 22, 2021 · 3 comments
Open

Error PHP8.1 Azure Storage #3

tairolima opened this issue Dec 22, 2021 · 3 comments

Comments

@tairolima
Copy link

tairolima commented Dec 22, 2021

It's giving an error when using PHP 8.1

microsoft/azure-storage-common = 1.5.2

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /DIR_APP/vendor/microsoft/azure-storage-common/src/Common/Internal/Utilities.php on line 615

@SamMousa
Copy link

This can be worked around by silencing deprecation errors:

error_reporting(E_ALL & ~E_DEPRECATED);

@nazana01
Copy link

can this be fixed instead of hiding the depreciated message?

srebb pushed a commit to srebb/azure-storage-common-php that referenced this issue May 23, 2023
@warlleyj
Copy link

Deprecated Functionality: substr(): Passing null to parameter #1 ($string) of type string is deprecated

Could someone please do the merge?
Azure/azure-storage-php#351

I appreciate it!

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

No branches or pull requests

4 participants