Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [magento-2.2.5]

It should be used for questions about Magento 2.2.5

5
votes
0answers
43 views

Magento 2.2.5: Adding cart-attribute for cart-rules / conditions tab

I use a product attribute called "carton" which describes in how many carton a product is packed. I want to add a cart-rule which counts the amount of all cartons in the cart (accordingly the amount ...
4
votes
0answers
147 views

No such entity with cartId = 0 on checkout page

Customer lost session occasionally on checkout page. After login when i go to checkout page it's shows me below error but after refresh 4 5 times customer session restore again but after refresh ...
4
votes
0answers
219 views

Magento 2.2.5 - Categories are not getting saved in the database

In my Magento 2.2.5 Store, When I try to edit the existing categories content and press the save button, the categories content stays the same, there is no change being reflected in the admin panel,...
4
votes
0answers
332 views

Undefined index: websites in ..module-config/App/Config/Type/System.php

After trying to update from 2.2.5 to 2.2.6 I ran into an error message that it could not write to one of my files and thus needing to do a rollback on some of my backups. For some reason, I cannot ...
4
votes
0answers
76 views

Getting error in extension manager, Check Component Dependency & 2 php errors

Trying to find solution from many days on google but nothing found helpful.
4
votes
0answers
53 views

Salesforce Magento integration

I'm implementing salesforce magento integration through REST API callout. I have successfully got the response from magento and saved it in salesforce database. But facing issue while using ...
4
votes
0answers
284 views

Magento 2 Checkout Error Uncaught TypeError: Cannot read property 'getCacheKey' of null

I have an issue on checkout page and we are getting below error on console. It looks like address object is not loaded correctly on quote object and we are getting different error each time. This ...
3
votes
0answers
75 views

Magento 2 Enterprise : Get Coupon code Expiration Date

I am using Magento 2.2.5 Enterprise Edition.I created cart price rule from admin.Now I want to display coupon expiration date in front end but in enterprise edition start/end date is saving by ...
3
votes
0answers
447 views

Magento2 - Full page cache issue with multiple stores

I have multiple storeviews for my Magento2 website. It is working fine until Full Page cache enabled from Store -> Configuration -> Advanced -> System -> Full Page Cache -> Built-in ...
3
votes
0answers
47 views

Product's “Layout Update XML” code disappears from the site every 24 hours

I have some products with "Layout Update XML" Design updates (simple XML pointing to a template file; very basic and in the correct format). Every 24 hours after a cache flush, the code vanishes from ...
3
votes
0answers
386 views

uncaught typeerror cannot read property 'dialog' of undefined magento 2

I am getting this error on checkout page every time and checkout not working any idea how to solve it. uncaught type error cannot read property 'dialog' of undefined Magento 2
3
votes
0answers
52 views

Magento 2 Sizes showing in a wrong order for configurable products

I have just upgraded my Magento to 2.2.5 via composer. I realized that the Sizes from the dropdown on product page is displaying in a wrong order, see screenshot. But in Admin, under product ...
3
votes
0answers
219 views

Company Column on Sales Grids (Order, Invoice, Shipment, Credit Memo)

This is a continuation from my previous question: Billing and Shipping Company Column on Sales Order Grid I was able to place the Ship-to and Bill-to Company Columns on the 4 Sales Grids, but I am ...
2
votes
0answers
19 views

Permission issue when installing with nginx

I have installed different Magento sites using nginx. I have 5 sites, 4 of them use php7.1 and there's one that uses php7.0. I have created two different sites-availaible: And both of them have ...
2
votes
0answers
75 views

Magento2: How can I set to a model in “specificcountry” on config.xml file?

I want to set default values with a model from declared class in system.xml. The result of the model is extracted from the database, from a custom table and the result looks like this: AF,AL,DE,BE,FR ...
2
votes
0answers
40 views

Element 'argument': The type definition is abstract and The state object to be removed is not the first in the list

I'm throwing this error on my /success/ page and it seems like such a generic error. It looks like further down the trace it's pointing to stuff like GoogleTagManager and other third-party modules ...
2
votes
0answers
161 views

Magento Cloud stuck on Building after Re-deploying environment

Recently I tried to add a domain from my Magento Cloud Dashboard. The Log throws me a error with SSL, but the real problem is that after that error it go next to "Re-deploying environment" and it has ...
2
votes
0answers
142 views

Magento 2 Filter admin grid collection by default

In Magento 2.2.5, I want to filter the custom grid using custom attribute. I followed this link. But it is not working. Is any alternate solution there.
2
votes
0answers
41 views

Magento 2 Region list not filter for default country on billing address for first time

There are many country region available in region list. The issue arises first-time page load on the billing address of checkout. Even default country has been set up the USA, All region list has been ...
2
votes
0answers
140 views

Magento2 get url of all CMS pages using their identifiers

I am preparing one common array which returns the complete details of all CMS pages. In this array, I need to pass the URL of all cms pages. I do have an identifier of all pages. How can I get the URL ...
2
votes
0answers
79 views

Magento 2 : Data binding in Payment Method Selection

I want to display a custom field in "cash on delivery" payment method. I have created a custom module for this. But the field displays in all payment methods. Here is my code html <div class="...
2
votes
0answers
26 views

Magento 2: How to remove Theme block in admin?

How to remove this block in back-end Categories > Design > Theme block New product > Schedule Design Update > New Theme block thank you!
2
votes
0answers
24 views

After update from Magento 2.1 to 2.2.5, categories are not displayed because is_active is missing

After an update to 2.2.5 it turned out, that all categories are not shown anymore. Debugging the issue revealed, that $category->isActive() just is null. Debugging further showed that ...
2
votes
0answers
37 views

Magento 2 : Rest APi Management payment methods

I need a solution to manage payment methods. Ex. Credit cards. in the web version we have the option to list the cards already used in purchases. (html: // vault / cards / listaction /).   Is it ...
2
votes
0answers
134 views

Varnish intermittent 503 in Magento 2

I've followed the dev docs on setting up varnish, and increased the http_resp_size and http_resp_hdr_len when the daemon starts. Most of the time it's fine, but every once in a while I will get a ...
2
votes
0answers
247 views

Magento 2.2.5 Product attribute “use in search” RESETTING after index:reindex

UPDATE:: Today i discover that happen when the cron run index:reindex How can I fix? Today during configuring manufacturer attributes I found a bug or however an anomaly on Magento 2.2.5 I, ...
2
votes
0answers
61 views

Why, Thumbnail placeholder image is not resized in catalog -> product -> edit page in Admin Magento 2.2.5

I have uploaded Placeholder image in Stores->Configuration->Catalog->Catalog->Product Image Placeholders. but thumbnail image is not resized by default in catalog_prduct_edit page in admin Magento 2.2....
1
vote
0answers
41 views

How to redirect to 403 custom error page in magento2 from controller

I am trying to redirect to custom 403 error page. I have created plugin for controller as follow: etc\di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
1
vote
0answers
16 views

How to create a customer attribute only for one store?

I can create a customer attribute using below script: <?php namespace Vendor\CustomerMobileNumber\Setup; use Magento\Framework\Setup\InstallDataInterface; use Magento\Framework\Setup\...
1
vote
0answers
23 views

Magento2.5 Related Products image url path incorrect after moving website

I recently moved a Magento 2.5 based website to a new server and now on the product detail page the related products the product images are not loading. Upon inspecting the image tag I see the url is ...
1
vote
0answers
22 views

Magento 2.2.5 product redirects to other category

I'm having a strange situation. When i select a product in my webshop, the category and breadcrumps are from a different category. Yes, the product is also available in this category, but i don't want ...
1
vote
0answers
26 views

Could not establish FTP connection, invalid host or port in magento 2.2.5

i include the use \Magento\Framework\Filesystem\Io\Ftp; at the top nd connct the ftp as $connection = $this->ftp->open( array( 'host' => '00....
1
vote
0answers
17 views

Delete Product Custom Option value if it is null in magento 2

I wish to delete the custom options value of a product if it is null without deleting the option. Please provide me a solution to delete it without affecting the option
1
vote
0answers
29 views

Magento2.2.5 amazon_sales_order table does not exist?

I recently upgrated a magento from 2.2.3 to 2.2.5 and now when people place an order I am seeing errors in the system.log that seem to state that there is a table related to amazon_sales_order that ...
1
vote
0answers
24 views

Magento 2 : SMTP email not received in LIVE site but working in localhost

Am using this extension for SMTP email- https://www.mageplaza.com/magento-2-smtp/ .This extension work perfectly in my localhost but live site its not working and no email are received for forget ...
1
vote
0answers
18 views

In Magento 2.2.5, logo is not changing in custom mail

In Magento 2.2.5, I am adding some custom mail functionality. It is triggering with the content. But the mail logo is not changed. Here is mail template content. Changed mail logo in Admin panel - ...
1
vote
0answers
45 views

Magento 2 Bad Response: Client error: `POST https://api.playground.klarna.com/payments/v1/sessions` resulted in a `400 Bad Request`

In Magento 2.2.5, I have configured "Klarna" Payment method using my valid credentials. But, In frontend when I go to the checkout page it is not showing the Klarna Payment Options. I got this log: ...
1
vote
0answers
28 views

Canceling credit memo gives error

I am canceling credit memo using below code: foreach ($collection as $creditmemo) { if($creditmemo->getState() != 3){ $order = $creditmemo->getOrder(); $creditmemo-&...
1
vote
0answers
35 views

configurable price issue in quickview and list page magento2

I'm having an issue with pricebox.js/configurable.js and configurable products. They are used in quickview and on individual product pages. same Issue I can see in this platform in this link ...
1
vote
0answers
18 views

Magento 2: Product Attributes Option unable to use &

I am unable to use "&" in option of product attributes. Below is attached screenshot. If we add & to Default Store View or Admin it get auto removed on save, is there any fix it ?
1
vote
0answers
297 views

Magento 2.2.5 How to add google captcha to newsletter form without use any third party extension

There is so many extension available for Google Captcha implement to Magento 2 newsletter form or any other form. But i want to add Google Captcha from scratch, without using any third party ...
1
vote
0answers
143 views

Magento 2.2.5 URL Rewrites - Duplicate entry 'myurl' for key 'URL_REWRITE_REQUEST_PATH_STORE_ID'

I am seeing this error when trying to perform a search/replace on the url_rewrites table: UPDATE url_rewrite SET request_path = REPLACE(request_path, '.html/', '/'); SQL Error (1062): Duplicate ...
1
vote
0answers
162 views

”Undefined offset: 4” when reindexing “Search indexer”

After module update I've got such error for indexing via SSH Catalog Search indexer process unknown error: Notice: Undefined offset: 4 in /home/sellastu/public_html/vendor/magento/module-catalog-...
1
vote
0answers
108 views

Magento 2.2.5: Add, Update and Delete existing products Custom Options

I am working on updating custom options of an existing product programatically when admin click product save button - I have done below code to full fil my desire - app/code/Namespace/Module/etc/...
1
vote
0answers
57 views

Magento 2: Setting theme ID is not is not working by using config:set

I found xpath design/theme/theme_id in vendor/magento/framework/View/DesignInterface.php:28. I'm trying to set new ID and there is an error: magento config:set design/theme/theme_id 7 The "design/...
1
vote
0answers
55 views

How to remove validation from the “City” and “Street Address” Field on Customer Registration Page?

I've added "Address Information" on customer registration page & want to remove the mandatory field from the "City" and "Street Address" Field for that I've overrided register.phtml file on my ...
1
vote
0answers
25 views

Magento 2.2.5 - The price attribute and visibility attributes are not visible in admin panel product editing page

Magento 2.2.5- The price and visibility attributes of catalog_products are not visible while going to the product edit page. I want to update the price of the products. What could be the reason?
1
vote
0answers
189 views

Magento 2 A customer website ID must be specified when using the website scope Error

I am getting this error while loading customer by mail A customer website ID must be specified when using the website scope. Here is my code: $objectManager = \Magento\Framework\App\ObjectManager::...
1
vote
0answers
33 views

Magento 2.2.5 | How to redirect page to payment gateway provider after clicking on place order, Custom Payment Gateway Module

I am new to Magento 2 Platform and this my first project, I have some basic knowledge about Magento. I am creating a custom payment method module and achieve the front end part means I can see the UI ...
1
vote
0answers
71 views

Redirect Magento2 from subfolder to root folder

I am new to Magento. Successfully installed/implemented Magento 2.2.5. However, I installed Magento as subfolder in root. And my cart shows as mydomainname.com/Magento. I want to change it so public ...