Skip to content

magento2.4

Auto Added by WPeMatico

An error with Magento 2 Admin panel page/Unable to access the admin page

When logging into my admin panel it’s throwing the error below, causing me to be unable to access the admin panel. 1 exception(s): Exception #0 (InvalidArgumentException): Item with identifier Magefan_Community::elements does not exist Exception #0 (InvalidArgumentException): Item with identifier Magefan_Community::elements… Read More »An error with Magento 2 Admin panel page/Unable to access the admin page

How to filter customer collection by custom field added by db_schema xml file to customer_entity table in Magento 2?

I added ‘custom_field’ to ‘customer_entity’ table by using ‘db_schema.xml’ file and need to save ‘some value’ in it then I wanted to filter the collection by ‘custom_field’ value. How can I achieve this ? When I use the below code.… Read More »How to filter customer collection by custom field added by db_schema xml file to customer_entity table in Magento 2?

How to override some files

I’m trying to override the next files: vendor/magento/module-backend/Block/Dashboard/Sales.php vendor/magento/module-reports/Model/ResourceModel/Order/Collection.php What path I need to create in a Module to override those files? I tried app/code/Vendor/Module/Block/Dashboard/Sales.php app/code/Vendor/Module/Magento_Backend/Block/Dashboard/Sales.php app/code/Vendor/Module/Model/ResourceModel/Order/Collection.php app/code/Vendor/Module/Model/Magento_Reports/ResourceModel/Order/Collection.php none work. Thanks