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

strcasecmp() type error #41

Open
edas11 opened this issue Nov 24, 2022 · 0 comments
Open

strcasecmp() type error #41

edas11 opened this issue Nov 24, 2022 · 0 comments

Comments

@edas11
Copy link

edas11 commented Nov 24, 2022

Hi, sometimes we get error: TypeError: strcasecmp() expects parameter 1 to be string, null given in vendor/vipps/module-login/Model/VippsAddressManagement.php:385. In our website we don't really use region. Also, I checked table vipps_customer_address and about 0.8% of rows have region value null. So looks like region can be null and that causes error. Can you add check for null or cast to string or some other fix here?

Magento version: 2.3.5-p1
Vipps login module version: 2.3.6

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

1 participant