I recently worked on a Magento project and faced an exception on Magento backend Customer Dashboard while accessing the customer grid on the admin panel.
Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid method Magento\Eav\Model\Entity\Attribute::canBeFilterableInGrid