Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Fix PHP8.1 Deprecated Functionality: strtolower(): Passing null #132

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mihaimatei
Copy link

Fixes error Deprecated Functionality: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in vendor/facebook/facebook-for-magento2/Helper/MagentoDataHelper.php on line 481 by casting the parameter passed to strtolower to string.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 5, 2023
@zlik
Copy link
Contributor

zlik commented Jan 6, 2023

Hi @mihaimatei, thanks for your PR – good catch. We have already fixed the issue in a very similar way, will push the fix shortly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants