cancel
Showing results for 
Search instead for 
Did you mean: 

PHP Fatal error: Controller class not found in Interceptor (Magento 2)

PHP Fatal error: Controller class not found in Interceptor (Magento 2)

I have uploaded a magento2 extension on marketplace and its failed due to missing class in Interceptor. But its working at my end.

I got issue from marketplace:

Version: Magento 2 CE 2.2.8

PHP Fatal error: Class 'Vendorname\Modulename\Controller\Index\Index' not found in /var/www/html/generated/code/Vendorname/Modulename/Controller/Index/Index/Interceptor.php on line 7

 

2 REPLIES 2

Re: PHP Fatal error: Controller class not found in Interceptor (Magento 2)

Hello @psingh29 ,

Can you please share the code written inside that file?

I can help you after checking that.

 

Re: PHP Fatal error: Controller class not found in Interceptor (Magento 2)

@Gulshan21  thanks for yout reply. Now issue is resolved, there is vendor name issue in composer.