cancel
Showing results for 
Search instead for 
Did you mean: 

class not found error(After upgrading magento 2.4.2 from 2.3.2)

class not found error(After upgrading magento 2.4.2 from 2.3.2)

After upgrading magento 2.4.2 - Class not found error 
Collection.php file is missing from Magento\Sales\Model\ResourceModel\Order\Invoice\Grid\ (from vendor folder)

ERROR (php bin/magento setup:di:compile)
Class 'Magento\Sales\Model\ResourceModel\Order\Invoice\Grid\Collection' not found in
 drinkies-magento\vendor\THEME-FOLDER-NAME\THEME-SUB-FOLDER-NAME\src\Distributor\Model\ResourceModel\Order\Invoice\Grid\Collection.php