New answers tagged

0

Replace this below code in app/code/Magento/ImportExport/Controller/Adminhtml/Export/Export.php File This code is working in my application public function execute() { if ($this->getRequest()->getPost(ExportModel::FILTER_ELEMENT_GROUP)) { try { $params = $this->getRequest()->getParams(); $model = $this->_objectManager->...


0

For those who might be having a similar problem. I was getting this error: Plugin class Magezon\Core\Plugin\View\Element\AbstractBlock doesn't exist Turns out the issue was due to the "case" of the containing folder. In /app/code I had created a folder called "magezon" - it ...


0

Solved : <div style="float: right;"> <!-- <form method="post" action="" > --> Select Courier : <li> <select name="courier" id="courier" > <option disabled='disabled' selected>-- Choose an option --</option> <option ...


0

If the server sends you a TLS alert unknown ca like in this case then the server does not accept the client certificate you have send. The reason for this might be that you have used the wrong certificate or you've used the correct certificate but failed to add the necessary chain certificates.


2

Please, check that interceptor class on your server: ls -la generated/code/Magento/Webapi/Model/Cache/Type/Webapi/Interceptor.php (from Magento root dir.) In case it has a wrong permissions change it according your needs (usually make it accessible by web-server user is enough). Another case that interceptor class used somewhere in your code directly (or ...


0

We are having the same problem since upgrading from Magento 2.3.1 to 2.3.3. We've applied all of the patches as well. Still cannot send emails using SMTP. We've tried the Mageplaze SMTP extension as well as the Kiwi Commerce SMTP extension. We use Mandrill for the SMTP provider. Any suggestions or solutions would be greatly appreciated. Thank you.


1

Less Compilation with Grunt: Note : Before starting the installation, Please rename the existing files package.json.sample and Gruntfile.js.sample in your root folder as package.json and Gruntfile.js respectively Install Node.js sudo apt install nodejs Check installed with version using node -v Install Grunt tool Globally npm install -g grunt-cli ...


1

Try this composer require magento/product-community-edition=2.3.2 --no-update composer update dotmailer/dotmailer-magento2-extension --ignore-platform-reqs


1

you need to use magento script to upgrade from 2.2 to 2.3.2 https://raw.githubusercontent.com/magento/magento2/2.3/dev/tools/UpgradeScripts/pre_composer_update_2.3.php or at least you have to run: composer require magento/product-community-edition=2.3.2 --no-update composer update


1

I have solved the problem as you said removed generated , But I forget to delete var/cache/*. After that, I have run di: compile command and works fine


1

execute command "rm -rf generated/* var/view_preprocessed/*" and refresh the page.


1

Please run below command once rm -rf generated/* var/view_preprocessed/* var/cache/* var/page_cache/* Then try to run deployment commands, because if you will try to disable module using config.php file then some auto generated class still available in generated directory that creates this issue. So please try to remove that or you can rename generated ...


0

I know this is way old, but when I ran into this problem I noticed that while loading the product using collection methods: $productCollection = Mage::getModel('catalog/product')->getCollection()->addAttributeToFilter('some_attribute', array('eq' => $someValue)->load(); While loading the product from the above collection, the product will have ...


0

The following query helped me find the other quotes in the same situation: SELECT entity_id, customer_id FROM quote WHERE customer_id != 0 AND customer_is_guest = 1; Then I reset them to the proper status: UPDATE quote SET customer_is_guest = 0 WHERE customer_id != 0 AND customer_is_guest = 1;


0

To resolve this issue, please run php bin/magento setup:static-content:deploy [<languages>]. Change [<languages>] into your language, for example: en_US, en_GB,..etc


0

Finally, I have found an answer by myself after some digging. I did some changes to the Hybrid Library file. Hybrid/Providers/Google.php <?php /* ! * HybridAuth * http://hybridauth.sourceforge.net | http://github.com/hybridauth/hybridauth * (c) 2009-2015, HybridAuth authors | http://hybridauth.sourceforge.net/licenses.html */ /** * ...


0

yes magento does this , it builds up data by itself until your server crashes. my developer has tried to fix magento doing this but has had no luck. if you want constant uptime without worrying about magento using up all disk space and crashing your site then i'd recommend another provider like shopify , volusion etc. very disappointing


0

This should be fixed by this commit https://github.com/magento/magento2/commit/c15e194a9c5395d6cc703813feea8ed6efc4f6d5#diff-5caf9b4a7016097c6254817ce41d982e The problem was that it was using 0, 1, etc. as keys and 0 evaluates to false in the PHP.


0

my temporary solution is to change line 55 in the BatchSizeCalculator.php file from $this->batchRowsCount['default']; to $this->batchRowsCount['configurable']; then i can successfully reindex catalog_product_price


0

I have applied below code as I have to also move it to "checkout.cart.shipping" <referenceBlock name="checkout.cart.coupon" remove="true"/> <block class="Magento\Checkout\Block\Cart\Coupon" name="checkout.cart.coupon2" as="coupon" template="Magento_Checkout::cart/coupon.phtml"/> <move element="checkout.cart.coupon2" destination="...


1

<preference for="Cart2Quote\Quotation\Model\Quote\Pdf\Quote" type="Support\Cart2QuotePdf\Model\Quote\Pdf\Quote" /> For this preference added in di.xml, Please use the below code and check whether you can get rid of the error. <?php namespace Support\Cart2QuotePdf\Model\Quote\Pdf; use Cart2Quote\Quotation\Model\Quote\Pdf\Quote as CartQuote class ...


0

Try changing the contents of app/code/MGS/Mpanel/etc/di.xml to the following <type name="MGS\Mpanel\Model\Mpanel"> <arguments> <argument name="resource" xsi:type="object">MGS\Mpanel\Model\ResourceModel\Mpanel</argument> </arguments> </type> <preference for="Magento\Swatches\Helper\Data" type="MGS\...


0

It can be caused by JS. It often happens so that checkout pages are overloaded with extra JS. You can read more in this guide. It also describes the most common problems developers usually face when working on checkout. I think it will be quite useful to you.


Top 50 recent answers are included