unbxd / Magento-2-Extension

0 stars 2 forks source link

Error on bin/magento setup:di:compile #1

Closed lorenzijo closed 5 years ago

lorenzijo commented 5 years ago

I get this error while running bin/magento setup:di:compile

Interception cache generation... 6/7 [========================>---] 85% 42 secs 333.0 MiBErrors during compilation: Unbxd\ProductFeed\Model\ResourceModel\IndexingQueue\Grid\Collection Incompatible argument type: Required type: string. Actual type: \Unbxd\ProductFeed\Model\ResourceModel\IndexingQueue\Grid\mainTable; File: /var/www/html/app/code/Unbxd/ProductFeed/Model/ResourceModel/IndexingQueue/Grid/Collection.php

Total Errors Count: 1

In Log.php line 92:

Error during compilation

To fix it please add string to mainTable in Model/ResourceModel/IndexingQueue/Grid/Collection.php as follow:

in line 47

MageCloudTeam commented 5 years ago

@lorenzijo resolved please can you provide a more information about magento instance (verison, etc..) on which this issue was detected

lorenzijo commented 5 years ago

The magento version is 2.3.1 and this as well as the error about Unbxd_Analytics reported last week where found simply by running bin/magento setup:di:compile.

Thanks for fixing it