The upgrade process in composer works fine. After upgrading in composer en trying to run bin/magento setup:upgrade
I get the following error:
Type Error occurred when creating object: Magento\Framework\Communication\Config\Data, Argument 2 passed to Magento\Framework\Reflection\TypeProcessor::resolveFullyQualifiedClassName() must be of the type string, null given, called in /data/web/magento2/vendor/magento/framework/Reflection/TypeProcessor.php on line 550
Anybody came across the same error? Any possible fix available?
EDIT:
To know which extension/class
is responsible for the error, do the follow:
Open: vendor/magento/framework/Reflection/MethodsMap.php
find the method getMethodMapViaReflection()
and add the following to the first line:
echo $interfaceName . PHP_EOL;
Run bin/magento setup:upgdrade
again. The last class just before the error is the suspect.
Credits to @JorgB for his answer.