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