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

Add fallback for null values to empty string #57

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

Conversation

Epzillon
Copy link

@Epzillon Epzillon commented May 3, 2023

Fixes an error caused by null values for parameter #2 in preg_replace() being deprecated as of PHP8.1.

{main} {"exception":"[object] (Exception(code: 0): Deprecated Functionality: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/project/www/vendor/sveawebpay/nwt-magento2-checkout/Helper/Data.php on line 534 at /var/www/project/www/vendor/magento/framework/App/ErrorHandler.php:62)"} []

vicgeralds pushed a commit to vicgeralds/nwt-magento2-checkout that referenced this pull request Nov 25, 2023
[SC-175] Error log handler

* [SC-175] Adds separate logging handler for error messages. Removes an irrelvant error log about missing push.


Approved-by: Sergiu Moscalu
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

Successfully merging this pull request may close these issues.

1 participant