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\...
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 ...
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:
...
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 ...
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/...
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="\...
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.
...
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....
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.
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....
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\...
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()...
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 $...
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'...
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:...
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 $...
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"),
...
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/...
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\...
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 > ...
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"...
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
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="...
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
...
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 ...
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->...
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/...
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/...
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 ...
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
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
magento2.3.3 × 449magento2 × 162
magento2.3 × 53
magento-upgrade × 16
magento2.3.4 × 14
magento2.3.2 × 14
database × 13
checkout × 11
error × 11
upgrade × 10
product × 9
php × 9
admin × 8
rest-api × 8
nginx × 8
orders × 7
customer × 7
onepage-checkout × 7
payment-methods × 7
custom-attributes × 7
migration × 7
shipping × 6
graphql × 6
module × 5
layout × 5