Skip to content

magento2.4

Auto Added by WPeMatico

Magento 2.4 TemplateTypesInterface deprecated interface: The deprecated interface will be removed in upcoming versions

Impossible to process constructor argument Parameter #3 [ Magento 2 TemplateTypesInterface deprecated interface: The deprecated interface will be removed in upcoming versions. Consider using an interface or class marked as api instead. <?php namespace VendorModuleModel; use MagentoFrameworkAppTemplateTypesInterface; use MagentoFrameworkSetupPatchDataPatchInterface; use… Read More »Magento 2.4 TemplateTypesInterface deprecated interface: The deprecated interface will be removed in upcoming versions

Filter by attribute is slow for customer collection using addAttributeToFilter() function

I have created a custom attribute called username for Customer which is searchable in admin grid. But whenever I search by username for SSO it takes much time (2-3 sec). Below are the code: $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $customerObj = $objectManager->create(‘MagentoCustomerModelResourceModelCustomerCollection’);… Read More »Filter by attribute is slow for customer collection using addAttributeToFilter() function

Updating from 2.3.5 to 2.4.4 gives magento/framework 102.0.5 requires php ~7.1.3||~7.2.0||~7.3.0 error

Magento 2.3.5 I am trying to update from Magento 2.3.5 to Magento 2.4.4-p2. The commands I executed are: composer require magento/product-community-edition=2.4.4-p2 –no-update –use-default-magento-values composer update I am running PHP 7.4 and the error I get is: magento/framework 102.0.5 requires php… Read More »Updating from 2.3.5 to 2.4.4 gives magento/framework 102.0.5 requires php ~7.1.3||~7.2.0||~7.3.0 error

error on left join

I’m getting errors in Left join, below is my code. $motorcyclebookFactory = $this->motorcyclebookFactory->create() ->getCollection() ->addFieldToFilter(‘product_id’, $productCollectionData->getId()); $motorcyclebookFactory->getSelect()->joinLeft( ‘rider_detail as wrd’, ‘wrd.booking_id = main_table.booking_id’, [‘booking_id’, ‘booking_series_id’] ); Error is { “code”: “500”, “message”: “SQLSTATE[23000]: Integrity constraint violation: 1052 Column ‘product_id’ in… Read More »error on left join