Skip to content

magento man

Rejecting mapping update to [magento2_product_1_v2] as the final mapping would have more than 1 type

I’ve recently upgraded my Magento 2 store from version 2.4.1 to 2.4.3. However, I’m encountering issues when running the catalog search, And I’m receiving the following error message: main.CRITICAL: {“error”:{“root_cause”:[{“type”:”illegal_argument_exception”,”reason”:”Rejecting mapping update to [magento2_product_1_v2] as the final mapping would have… Read More »Rejecting mapping update to [magento2_product_1_v2] as the final mapping would have more than 1 type

Magento2 – Running di:compile stops at 57% in magento 2.3.2

Class MagentoFrameworkMailEmailMessageInterfaceFactory does not exist Class VendorExtensionModelMailTransportBuilderInterceptor generation error: The requested class did not generate properly, because the ‘generated’ directory permission is read-only. If — after running the ‘bin/magento setup:di:compile’ CLI command when the ‘generated’ directory permission is set to… Read More »Magento2 – Running di:compile stops at 57% in magento 2.3.2

Magento 2 Uncaught TypeError Cannot read property ‘done’ of undefined

Uncaught TypeError: Cannot read property ‘done’ of undefined at UiClass.continueToPayPal (paypal-express-abstract.js:80) at HTMLButtonElement.<anonymous> (knockout.js:4245) at HTMLButtonElement.dispatch (jquery.js:5232) at HTMLButtonElement.elemData.handle (jquery.js:4884) when I have click on the PayPal Express Checkout button page is not redirect and show me the error in… Read More »Magento 2 Uncaught TypeError Cannot read property ‘done’ of undefined

PHP Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkModelResourceModelDbVersionControlSnapshot::clear()

Have recently attempted to update to 2.3.7-p2 and am getting below error on reindex: PHP Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkModelResourceModelDbVersionControlSnapshot::clear() in /var/www/magento/vendor/magento/module-eav/Model/Entity/Collection/VersionControl/AbstractCollection.php:98 Stack trace: #0 /var/www/magento/generated/code/Magento/Customer/Model/ResourceModel/Customer/Indexer/Collection/Interceptor.php(76): MagentoEavModelEntityCollectionVersionControlAbstractCollection->clear() #1 /var/www/magento/vendor/magento/module-customer/Model/Indexer/Source.php(101): MagentoCustomerModelResourceModelCustomerIndexerCollectionInterceptor->clear() #2 /var/www/magento/vendor/magento/framework/Indexer/SaveHandler/Batch.php(20): MagentoCustomerModelIndexerSource->getIterator() #3 /var/www/magento/vendor/magento/framework/Indexer/SaveHandler/Grid.php(22): MagentoFrameworkIndexerSaveHandlerBatch->getItems(Object(MagentoCustomerModelIndexerSource),… Read More »PHP Fatal error: Uncaught Error: Call to undefined method MagentoFrameworkModelResourceModelDbVersionControlSnapshot::clear()

Magento 2 : crontab is not working

I am trying to implementing cron job for my module but getting error in CLI. I am using windows operating system. here is crontab.xml <?xml version=”1.0″ encoding=”UTF-8″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Cron:etc/crontab.xsd”> <group id=”customdesignsubcategories_cron”> <job name=”uploadFile_deletion” instance=”vendermoduleCronUploadFileDeletion” method=”execute”> <schedule>1/2 * * *… Read More »Magento 2 : crontab is not working