Skip to main content
37 votes
Accepted

Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface

Go to Below File /vendor/vertex/module-tax/Model/FlexField/Processor/OrderCurrencyGetterProcessor.php At the end of the "use" clauses in add the following two lines: use Vertex\Tax\Model\...
Rakesh Donga's user avatar
  • 5,394
20 votes
Accepted

Fatal error: Uncaught Error: Call to a member function getSectionNames() after upgrading to 2.3.4

We found the solution here: https://github.com/magento/magento2/issues/26647 We've overridden the vendor/magento/module-customer/view/frontend/layout/default.xml in our custom theme. So, changing ...
mapetek's user avatar
  • 397
19 votes
Accepted

Upgrade Magento 2.3.3 to 2.4

First take to older version website backup and after your run direct magento 2.4.0 version. Magento Open Source: composer require magento/product-community-edition=2.4.0 --no-update Magento Commerce: ...
Mohit Patel's user avatar
  • 3,933
16 votes

Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface

I run into the same problem. It seems only a speeling problem: https://github.com/magento/magento2/issues/24930#issuecomment-543949135 So it is better to change only the namespace spelling without ...
Mario's user avatar
  • 405
11 votes
Accepted

Magento 2.3.3 PayPal problem while checkout

Open the below js file and update as per given below then do compilation and test. File path: vendor/magento/module-checkout/view/frontend/web/js/action/select-payment-method.js Overwrite to: app/...
ManiMaran A's user avatar
  • 1,146
11 votes
Accepted

Unable to add Attachment in email after upgrade to Magento 2.3.3 version

I solved it by override TransportBuilder. It has many private methods that's why I override whole class. You need only this one file. app/code/vendor/module/etc/di.xml <preference for="\...
K. Maliszewski's user avatar
9 votes
Accepted

Magento 2 Change Default OrderBy Parameter for Search Results

Try a below code. Tested in M2.3. This will change the sorting option from Relevance to Price only for Search Result Page. You can change the $defaultSortBy and $directionToSet as per your need. ...
sandip's user avatar
  • 4,044
9 votes
Accepted

Magento2 - How to reduce Logout to homepage redirect time from 5 seconds to 2 seconds?

Copy this file : \vendor\magento\module-customer\view\frontend\web\js\logout-redirect.js to \app\design\frontend\Vendor\Theme\Magento_Customer\web\js\ogout-redirect.js change $($.mage....
Chirag Parmar's user avatar
8 votes
Accepted

Magento 2.3.3 Class 'Zend_Reflection_Class' not found

Please run composer require zf1/zend-exception composer require zf1/zend-reflection I had the same issue and that solved.
xtremprovider's user avatar
7 votes

Magento 2.3.3 Fails on magento setup:di:compile with an error mentioning InvoiceFlexFieldProcessorInterface

If like me you can't edit the file (because our CD will fail) follow these steps: In the root of your project, create a directory patches/composer Create a file called vendor-vertex-compilation-issue....
Haim's user avatar
  • 2,154
7 votes
Accepted

Plus, Minus, automatic cart update on Magento 2.3.3

Override default.html from vendor\magento\module-checkout\view\frontend\web\template\minicart\item\default.html to app\design\yourvendor\yourtheme\Magento_Checkout\web\template\minicart\item\...
Ranganathan's user avatar
  • 3,230
6 votes
Accepted

Uncaught Error: Call to undefined method - Magento 2.3.3

I don't understand why do you want clone of your collection. But still you can try php object cloning Instead of which is I guess not available in Magento: $productCollection = $filter->getLayer()...
Shoaib Munir's user avatar
  • 9,542
6 votes
Accepted

MAGENTO 2.3.3 ups carrier model plugin getting error

Will be fixed in Magento 2.4. See https://github.com/magento/magento2/commit/cfd5c22848f82f29f69cd42ffbcc8e09fa848568. Workaround: Replace the following line: ?ProxyDeferredFactory $...
Andreas von Studnitz's user avatar
6 votes

Magento 2 Header Sign In Sign Out Issue

Please try the following way using knockout js. you can add following code in your .phtml file, this will help you to resolve login issue while the cache is enabled <ul data-bind="scope: 'customer'...
Aasim Goriya's user avatar
  • 5,454
6 votes
Accepted

Integrate or enable ElasticSearch with Magento 2.3.3

To check the ElasticSearch on the storefront working or not. Below plugin may help you. di.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:...
sandip's user avatar
  • 4,044
6 votes
Accepted

How to get in stock product collection by category id in Magento 2.3.3?

To get instock product collection. include catalogInventory stock helper class protected $stockFilter; public function __construct( \Magento\Catalog\Model\Product\Visibility $...
Manish Chaubey's user avatar
6 votes
Accepted

Magento 2.3.3 Getting issue in custom module GraphQL

Try with below code. type StoreHolidayInfo { dates: holidayDates, days: String, details: [holidayDetails] } type holidayDates { repetitive: [String] @doc(description: "holiday id"), ...
Yash Shah's user avatar
  • 2,513
5 votes
Accepted

Magento 2.3 : Customer after login Storeview switcher/redirect problem

After lot's of debug found that This issue in Magento 2.3.3 Default version. In order to prevent this bug on 2.3.3, you need to update "vendor\magento\module-store\etc or override : magento2/app/...
Sangeeta Chandaliya's user avatar
5 votes

Uncaught Error: Call to undefined method - Magento 2.3.3

The problem is that for some reason, the product collection class \Magento\CatalogSearch\Model\ResourceModel\Fulltext\Collection is not overrided by the the one from Mageplaza Mageplaza\...
rou6e's user avatar
  • 1,041
5 votes
Accepted

Can't import database Magento 2.3.3

You can try to import the database in your new PHPMyAdmin by following the below few steps. Step 1: Export the database using the below command with SSH mysqldump -u USERNAME -p DATABASE_NAME > ...
Ashok Dubariya's user avatar
5 votes
Accepted

plus, minus in cart page

For the cart page First, override this file in your module or theme Path: vendor/magento/module-checkout/view/frontend/templates/cart/item/default.phtml Find the element <div class="control qty"...
Vithal Bariya's user avatar
5 votes
Accepted

Magento 2.3.4: Product Views Report Not Working

I got the sollution for this, Goto Store -> Setting -> Configuration -> General ->Reports -> General Report Enable Then refresh statistics and clear cache then ,ready to go Thanks
sandip patel's user avatar
4 votes
Accepted

Magento 2.3.3 System Configuration Tab label Not Support Image Tag

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> <system> <section id="...
Anas Mansuri's user avatar
  • 2,637
4 votes

Magento 2 : How to create custom GraphQl to Access Customer Data?

There is already an in-built GraphQl query to retrieve customer data. You can get core Magento customer data via below query. { customer { firstname lastname suffix email id ...
Sukeshini's user avatar
  • 9,975
4 votes
Accepted

Magento2 newsletter not sending the success mail

If you're using MailChimp extension in Magento 2 then there is one system configuration in your Backend. Magento always manage emails : Yes Please set above config value No and then save ...
Kishan Savaliya's user avatar
4 votes

Magento 2.3.3 blank email with html attachment

I've found the solution. github.com/magento/magento2/issues/25076 You have to patch the following file: vendor/zendframework/zend-mail/src/Headers.php $current = $headers; - $current->...
Riccardo's user avatar
  • 382
4 votes
Accepted

how ko.observable declaration in magento 2 works without mentioning it in any variable?

Notice the line this.customer = customerData.get('customer'). customerData.get() returns a ko.observable({...}). If you want to dig deeper, you can look at the get function from Magento_Customer/js/...
Marius's user avatar
  • 198k
4 votes

Object of class Magento\Framework\DataObject could not be converted to string

Happend same to me. When I try to click in a sub-category who have product with a review, give me the same error. Error comes from this file: vendor/magento/module-review/view/frontend/templates/...
user84766's user avatar
4 votes
Accepted

Updated to 2.3, now Product Pages Just Show Image

This was raised as an issue on the Magento github and is caused by an incompatibility with custom code in your theme. you will find more info and a solution here You need to locate in whichever of ...
paj's user avatar
  • 5,954
4 votes
Accepted

upgrade magento 2.2.6 to 2.3.3 PHP requirement incompatible with your PHP version (5.6.33.0)

Try to run below command php71 /usr/local/bin/composer.phar require magento/project-community-edition=2.3.3 --no-update You can use below line instead of composer php71 /usr/local/bin/composer.phar ...
Kishan Savaliya's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible