Questions tagged [magento2.2.4]
Denotes the question related to Magento version 2.2.4
323
questions
0
votes
0
answers
28
views
Magento2 Item order refund programmatically
I'm using Magento 2.4.4 and I would like to understand if this code is correct about the automatic online item refund.
private function createCreditMemoByRma($rma, $order) {
$totalQty = 0;
$...
0
votes
2
answers
406
views
Magento 2.4.4 - Call to a member function getCookieSecure() on null
After updating from 2.3.5 to 2.4.4-p2 I am getting an error when the frontend loads. This is how it looks, when I load the frontend: https://i.imgur.com/BLj2nlP.png
The admin works just fine and there ...
1
vote
0
answers
106
views
Magento2.4.4 pagebuilder having issue When we change content and save
Magento2.4.4 pagebuilder having issue When we change content and save
0
votes
0
answers
56
views
main.CRITICAL: Invalid template file:
I created module for email header
Block: INW\EmailOverride\Block\EmailOverride // information about which image show
template: extraheader.phtml // contain a image tag
I put this in custom email ...
0
votes
0
answers
73
views
Magento 2.2.4 Mageplaza Smtp Fatal error
It´s running fine in developer mode but when I try to pass to production mode see this error.
¿Could you help me?
[root@host sho]# php bin/magento setup:di:compile
Compilation was started.
...
4
votes
4
answers
5k
views
Integration not secure
after installing 2.4.4 intergaration gives an error message "Integration not secure" Where does this message come from?
0
votes
2
answers
20
views
Can't load any data in backend
I've a (random ?) <pre> added in the end of the default json rendering content in backend (for users, products...).
I'm sure I didn't touch anything from this part of the website, any ideas ?
0
votes
2
answers
82
views
Data Migration Magento 1.9 to Magento 2.4.2
Database is 20 Go. 3 m + SKUs. What Data Migration tool should I use ? Also, can I migrate Data from Live server or should I use Data from a non Live backup server ?
0
votes
0
answers
38
views
Magento TypeError: Cannot read property 'quoteData' of undefined
main.js:37 TypeError: Cannot read property 'quoteData' of undefined
at quote.js:33
This error is appearing in the browser console and is happening on several pages. Mainly on the registration page. ...
0
votes
0
answers
132
views
Magento 2.4 - Error encountered after installing new theme error: Requested path '' is wrong
I installed a third party theme and for some reason it broke my Magento server, Now I am unable to see the frontend and backend. I cannot access the admin panel to switch it back to the default luma ...
0
votes
1
answer
77
views
Abandoned carts being all updated at same time
Periodically the abandoned carts are all being updated at same time. It happened 3-4 times by now. I don't know what is causing the behaviour and if it is an actual problem.
Below is an image from the ...
1
vote
1
answer
262
views
Incompatible argument type: Required type: string. Actual type: \Magento\Store\Model\StoreManagerInterface;
I have setup a website on local. Magento version is 2.2.4 and php version is 7.0.33
Frontend is working but admin is not working after upgrade and deploy the code.
But getting error during compilation:...
0
votes
2
answers
190
views
Can I upgrade from 1.8.1.0 to 2.4?
Can I upgrade from 1.8.1.0 to 2.4?
Two questions:
Is it possible to jump upgrades, therefore upgrade from Magento 1.8.1.0 directly to Magento 2.4?
Are there any detailed instructions on how to get ...
1
vote
0
answers
138
views
Magento upgrade problem Fatal error: Uncaught Error: Cannot instantiate interface
I upgraded from Magento 2.3.4 to 2.4.0
And now I'm getting the following error when running the indexer.
Fatal error: Uncaught Error: Cannot instantiate interface Magento\InventoryCatalogApi\Api\...
3
votes
2
answers
3k
views
Magento 2 Pagination not working on search results - Porto Theme
Pagination works when I navigate to a page, but when I search, it doesn't. This is inconvenient when there are 100 results, but when there are 1000+, eventually it just times out and throws a 524 ...
0
votes
2
answers
239
views
Magento 2.4.1 Developer Mode not working
i have installed Magento 2.4.1 via Docker and tried to change to developer mode. The problem is, that the developer option dont show up in the settings. I have tried:
Setting Developer Mode in nginx ...
0
votes
1
answer
333
views
Pricing Per Customer with no plugins
I want to implement pricing per customer. I'm talking about tens of thousands of rules, and I'm considering adding every customer (5000+) to their own group, and uploading prices with a csv.
Other ...
0
votes
2
answers
222
views
Is there a way to disable "add to cart" and "wishlist" for customers that aren't logged in
Like the title says, those buttons look terrible when customers aren't logged in, and the functionality ins't needed, so how can I disable favorites and compare for people who aren't logged in?
Thanks
0
votes
1
answer
396
views
Elasticsearch mapping_parser_exception error
I'm running Elasticsearch 7.6 on my Cloudways staging server, and 7.8 with Homebrew on my local server. Using Magento 2.4 (now 2.4.1).
When I try to reindex, I see
Catalog Search index process unknown ...
0
votes
1
answer
928
views
Magento 2.4 with luma showing correct placeholder instead of small_image
I am workin in a magento 2.4 with luma as a vendor so the list.phtml come directly untouched from the core of magento.
I can see the images in the admin and in the product view gallery but at the ...
0
votes
1
answer
873
views
Cart and Checkout redirecting to 404
I just updated to Magento 2.4, and I can't access my cart or checkout anymore. I see 500 errors, and a redirect to /noroute, bunt I can't figure out what's causing it.
Any way I can track this down ...
0
votes
1
answer
14
views
Can not access Admin stie
Whenever I go to my admin site I get:
There has been an error processing your request
Class ******\Testing\Controller\Router does not exist
I have checked the logs, I have redeployed and changed ...
0
votes
0
answers
66
views
An E-mail was sent to you with further instructions but still not receiving it...! [duplicate]
I am new with MAGENTO 2.4.0 i have already installed BUT When i try to log in my backend it shows me:
"You need to configure Two-Factor Authorization in order to proceed to your store's admin ...
2
votes
0
answers
279
views
How to switch from Mysql 5.7 to 8.0 in Magento 2.4
I was developing Magento 2 with MySql 5.7 but on production server there is MySql 8 installed which is giving me some query errors.
After following a guide of migrating from MySql 5.7 to MySql 8.0 it ...
0
votes
1
answer
56
views
Store views are not displaying in Admin portal product details page
Store views are there if I will go to Stores >> All Stores
But If I go to any product details page and the scope drop-down only shows the default store view.
0
votes
0
answers
50
views
Admin Portal >> Exception on clicking Stores > Settings > Configuration>Advanced and choose System
1 exception(s):
Exception #0 (InvalidArgumentException): An element with a "system_cron_template_schedule_generate_every" ID already exists.
Exception #0 (InvalidArgumentException): An ...
0
votes
1
answer
85
views
Migration from 2.2.4 enterprise to 2.3.5-p2 - setup:upgrade mysql error
I am working on a 2.2.4 enterprise to 2.3.5-p2 migration.
I have gone through all steps such as composer, internal modules solutions, until setup:upgrade step. I searched for solution on the web, and ...
0
votes
1
answer
1k
views
Magento 2.4.0 upgrade from Magento 2.3.5 not updating
when i upgrade to 2.4.0 from admin area. i get all green check mark, it goes through the next step, I skip the backup process. next step it goes through normal process after couple minutes into it, it ...
0
votes
1
answer
32
views
My magento 2.2.4 homepage loads while other pages refuses to load
When I open my magento homepage it loads successfully while catalog search, categories and product page load a http 500 error.
Copy of my .htaccess files is thus;
######################################...
1
vote
3
answers
3k
views
locked out due to 2FA after upgrading to 2.4.0
As the question title says I was locked out of my admin page after upgrading to 2.4.0 due to the enforced 2FA. Now I see this page
The email that is sent though is not going to my user's email ...
1
vote
1
answer
869
views
Order by position in product collection
I'm trying to order products by position in category
public function __getProductCollection($category_id_array) {
$collection = $this->_productCollectionFactory->create();
$collection-&...
2
votes
0
answers
209
views
Magento 2.2.4. Product Import additional_attributes Error Issues
I have a problem with Magento 2.2.4. when I try to Import new products into a website, even when I try to Import the Exported products I already have on the website, I get this kind of error.
Those ...
0
votes
0
answers
213
views
How to use JPF or JPEG 200 image formate in Magento 2
I have been given image files in jpf or JPEG 2000 to upload into a Magento 2.2.4 store. But looks like this is not an image file format which is supported.
Is there any way to make this work?
Thank ...
0
votes
1
answer
334
views
After Payment not redirecting to success page and getting this error with magento2.2.4
[19-Mar-2020 09:30:31 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Paypal\Model\Adminhtml\Express::isOrderAuthorizationAllowed() must be an instance of Magento\Sales\Model\...
1
vote
0
answers
278
views
Magento2 - Search synonyms doesn't work after changing search to AND from OR
I have changed the search AND and OR logic by following the link:
[How do I change Magento 2 search from OR logic to AND?
but now the search synonyms are not working.
If I add synonyms: read,rid
...
1
vote
0
answers
133
views
Error while upgrading 2.2.4 to 2.3.3
Getting below error
Notice: Undefined index: column in
/var/www/html/TTM/vendor/magento/framework/Setup/Declaration/Schema/Declaration/SchemaBuilder.php
on line 196
1
vote
2
answers
362
views
Magento 2 duplicate product entry in default store view
In my magento2 store I only have one single store assigned to the default view and all the products in were in "all store view". So the store view column in the csv was blank.
But somehow someone ...
1
vote
0
answers
16
views
Cart Rules for tiered promotion with exclusions
I'm trying to run a simple rule based on cart subtotal. If itfalls between 2 amounts, a $ discount gets applied.
The problem starts when I need to set conditions about what items can be "counted" ...
1
vote
2
answers
250
views
Add column to order grid get error in customer page
I tried to add 2 new columns (shipping's company and billing's company) to orders page using a plugin,
but i got an error when trying to view customer's orders in customer page.
This is my plugin ...
0
votes
1
answer
589
views
Magento 2 function to get a list of products (simple and configurable) with special price on a given date
I have the following function which gives me a list of simple products which are on special at the moment:
public function getSpecialProducts($config = [])
{
/** @var $collection \...
0
votes
0
answers
122
views
Magento 2.2.4 configurable catalog price rule
I have a configurable product with 4 associated products. Each associated product has a different price (3.20€, 8.80€, 20€, 40€).
I have also set a catalog price rule of 20% discount on all products ...
1
vote
1
answer
938
views
Magento 2 - Get search query without temporary or virtual table
I was trying to debug the search query. Temporarily I changed the _getProductCollection method in vendor/magento/module-catalog-search/Block/Result.php .
I notice the query string contains some ...
0
votes
1
answer
743
views
Magento 2 forgot password doesn't check email exist exist or not
Magento 2 forgot password doesn't check email exist or not. It gives the message
If there is an account associated with xxxx@xxxx.com you will receive
an email with a link to reset your password....
0
votes
0
answers
19
views
M2.2.4 - Order comments in backend, make asc order instead of desc
We have some extensions that attach comments to the order comments area of an order, however we also have the customer comment order as well, which we would like to make the primary comment on the ...
5
votes
4
answers
23k
views
Magento 2.2.4 The value specified in the URL Key field would generate a URL that already exists
when I have the category in product assign and saving category below error showing
The value specified in the URL Key field would generate a URL that
already exists. To resolve this conflict, ...
0
votes
2
answers
326
views
During setup:di:compile getting error:- Source class "\PHPExcel_IO" for "PHPExcel_IOFactory" generation does not exist
When i'm running "setup:di:compile" or setting mode to "production" from "default" then getting following error:-
Please help me to resolve this problem immediately.
------Update@Start--------------...
0
votes
0
answers
156
views
Magento 2 referrer URL not working and also product not adding to cart
https://hofindia.com/hof/customer/account/login/referer/aHR0cHM6Ly9ob2ZpbmRpYS5jb20vaG9mLw%2C%2C/ This Url Not working and
https://hofindia.com/hof/customer/account/login/ It's Working
Also, ...
0
votes
1
answer
509
views
How to add the address fields in create account form in magento 2
I Need to customize create account form to show additional address fields in Magento 2.
I have set true to show address fields & it saves the address information perfectly.
...
0
votes
1
answer
375
views
Magento 2:- How to add order export feature to seller dashboard?
I'm using Marketplace and there is separate dashboard for each seller from where seller can manage their sections e.g-products,stores,orders etc.
for now,on order grid seller can't export the order ...
1
vote
1
answer
1k
views
Magento 2: Continuously increasing system.log file with logging warning “main.WARNING: No such entity with addressId =”
I have facing issue in the system.log file to bulk up in GBs within couple of minutes. Upon in depth check, I found that Magento was logging warning “main.WARNING: No such entity with addressId =”.
I ...