Skip to content

upgrading from magento2.2.5 to 2.3.5 I’m facing this issue

I’m upgrading from magento2.2.5 to 2.3.5 I’m facing this issue

PHP Fatal error:  Uncaught Error: Class 'MagentoFrameworkComponentComponentRegistrar' not found in app/code/<Vendor>/<ModuleName>/registration.php file


<?php
 MagentoFrameworkComponentComponentRegistrar::register(
     MagentoFrameworkComponentComponentRegistrar::MODULE,
     'Vendor_Module',
     __DIR__
 );

can anyone please help me.