0

I upgraded the magento version from 2.3.6-p1 to 2.4.5-p1 enterprise edition.

When I run bin/magento setup:upgrade command throws following error.

Deprecated Functionality: rawurlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/vendor/fastly/magento2/Model/Api.php on line 143

Please guide me to solve this. My PHP version is 8.1

asked Mar 15, 2023 at 11:35

1 Answer 1

0

You need to have the fastly_service_id set in config to avoid the error. Or you can add patch to make the getServiceId to always return string.

See issue in github https://github.com/fastly/fastly-magento2/issues/612

answered Mar 15, 2023 at 12:10

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.