addAttributeToSelect Call to undefined method M2
Clash Royale CLAN TAG #URR8PPP .everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0; up vote 2 down vote favorite I have two custom modules and am calling one collectionfactory in other module and getting ` Call to undefined method addAttributeToSelect Collection file look like class Collection extends MagentoFrameworkModelResourceModelDbCollectionAbstractCollection /** * Initialize resource collection * * @return void */ public function _construct() $this->_init('VendorModuleModelHello', 'VendorModuleModelResourceModelHello'); and am calling in block use VendorModuleModelResourceModelHelloCollectionFactory; class Custom extends MagentoBackendBlockWidgetGridExtended public function __construct( CollectionFactory $collectionFactory, array $data = ) $this->collectionFactory = $collectionFactory; parent::__construct($context, $backendHelper, $data); protected function _prepareCollection() $col...