Skip to main content

PHP 8.1

Error after upgrade Magento into version 2.4.4 with PHP 8.1

After upgrading Magento to version 2.4.4 and PHP 8.1, you might have this error 

Type Error occurred when creating object: Magento\Framework\Communication\Config\Data, Magento\Framework\Reflection\TypeProcessor::resolveFullyQualifiedClassName(): Argument #2 ($typeName) must be of type string, null given, called in /{magento_root}/vendor/magento/framework/Reflection/TypeProcessor.php on line 550