Hello,
When I setup:di:compile I get the error:
Fatal error: Declaration of Ubertheme\Ubdatamigration\Model\Indexer\Product\Category\Action\Full\Interceptor::execute(): Ubertheme\Ubdatamigration\Model\Indexer\Product\Category\Action\Full must be compatible with Magento\Catalog\Model\Indexer\Category\Product\Action\Full::execute(): Magento\Catalog\Model\Indexer\Category\Product\Action\Full in /home/clients/ce34ff23043e2397822f1d734c83a056/preview/generated/code/Ubertheme/Ubdatamigration/Model/Indexer/Product/Category/Action/Full/Interceptor.php on line 7
What would be the problem?
Best regards,
Eric
1 answer
Hi there,
Lets do steps below to solve that issue:
+ Open your ssh terminal and got to M2 folder and run below command:
rm -rf app/code/Ubertheme/Ubdatamigration/Model
rm -f app/code/Ubertheme/Ubdatamigration/etc/di.xml
And then, rerun the setup:di compile.
Regards,
Mall.