32
votes
After upgrade from Magento 2.2.x to 2.3.x getting "No linked stock found" on multistore
Go to Stores -> Inventory -> Stocks (admin/inventory/stock/edit/stock_id/1/) and enable it for all websites, then hit save.
(See also https://community.magento.com/t5/Magento-2-x-Version-Upgrades/...
18
votes
Consumer "async.operations.all" skipped as required connection "amqp" is not configured. Unknown connection name amqp
Danila is above is right Solutions that tell you to do cron_run = 'false" will disable other queues you do want, like bulk attribute update or export file generation.
Option 1 disable packages
...
18
votes
Consumer "async.operations.all" skipped as required connection "amqp" is not configured. Unknown connection name amqp
The answer from @Rafael Corrêa Gomes (and any to the point that mentions either 'cron_run' => false or 'consumers' => ['async.operations.all'] in the configuration are quite outrageous because ...
17
votes
Accepted
How to stop scrolling to first validation error message on magento2 on add to cart?
Copy
MAGENTO_ROOT/vendor/magento/magento2-base/lib/web/mage/validation.js
into app/design/frontend/THEME_ROOT/web/mage/
then delete (start in line 1956)
if (firstActive.length) {
$('html, body')....
16
votes
After upgrade from Magento 2.2.x to 2.3.x getting "No linked stock found" on multistore
Im using composer 1.9.1 on Magento 2.3.2 and I have this issue on domains other than the main domain on our multi-site. So for me, composer update was not the answer. But thanks for your suggestion :)
...
14
votes
How to stop scrolling to first validation error message on magento2 on add to cart?
Here is a solution with a mixin to avoid overwriting the whole file:
1) app/design/frontend/[THEME_VENDOR]/[THEME_NAME]/Magento_Theme/requirejs-config.js
var config = {
config: {
mixins: ...
14
votes
Accepted
Can't check requested quantity for products without Source Items support issue on 2.3.1
New code from Magento 2.3
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Catalog:etc/product_types.xsd"&...
13
votes
Accepted
Magento 2 Could not acquire lock for cron group: default
In our case the issue was caused by a hanging cron job. The solution was to kill the cron job then everything returned to normal.
https://help.nexcess.net/magento/how-to-find-and-remove-hanging-...
12
votes
Accepted
All payment methods are not coming in Cart Price Rule
open file
vendor/magento/module-payment/Helper/data.php
at line number 268
put this line
$data['active'] = 1;
if you dont want to change in the core file than you need to override that file
...
11
votes
Accepted
Magento 2: Migrate only Customer and orders
Install Data Migration Tool
Check your Magento 2 version :- sudo php bin/magento --version
Install Data Migration Tool from repo.magento.com :-
composer config repositories.magento composer https://...
10
votes
Whats the purpose of lockedLoadData / uncached page build takes around a minute, spent in usleep
Well that's a -- choice? -- the Magento engineers made.
This isn't an answer, but it looks like that function accepts a callback that's meant to load cached data. The callback checks if there's ...
10
votes
Magento 2.3.1 - Issue with catalog search when using php7.2-fpm
You might want to look at this Github issue here. Magento is compiling a list of product IDs to send as a cache header but the header ends up being too long because the header string includes all ...
9
votes
bin/magento error after update
The issue can be fixed by manually editing composer.json autoload section to
"autoload": {
"psr-4": {
"Magento\\Framework\\": "lib/internal/Magento/Framework/",
"Magento\\Setup\\":...
9
votes
Whats the purpose of lockedLoadData / uncached page build takes around a minute, spent in usleep
lockedLoadData mechanism needs to decrease the load on the server.
Previously when configuration cache is cleaned on hi-loaded sites all client has generated the same information that significantly ...
9
votes
Accepted
setup:upgrade SQL error after update from 2.2.8 to 2.3.1
Apparently it is a Magento bug. When comparing current schema to declared schema, constraints and other indexes are handled separately, but the existing index is not dropped before the new UNIQUE ...
9
votes
File type .svg Error in image upload Magento 2.3.1
The reason SVG's are disabled in Magento 2 by default, is for security reasons such as stored XSS. And I would recommend that you leave them disabled atleast for now until we get better sanitization ...
9
votes
Accepted
How to convert install/upgrade schema scripts to db_schema.xml files?
After writing my question. I found my issue: I had run the setup upgrade command before.
So, I removed my module from setup_module table and my custom data table. Then I ran the two commands again.
...
8
votes
Magneto 2: Different countries in billing and shipping address
For show only one country in shipping address country dropdown we have to create plugin of LayoutProcessor method for override country_id children field of shipping-address-fieldset which we found in ...
8
votes
How to remove the attribute element in the layout in magento 2
I have solved the problem by following link https://github.com/outeredge/magento-structured-data-module/commit/41ea6ca81a2d8499b954498bce09b7be9d80dc2a
<page layout="1column" xmlns:xsi="http://www....
7
votes
Accepted
Magento 2 : Coding standerd Provide me Some Warnings How to solve it?
You can use the Magento framework methods instead of core php functions(AFAIK for the security reasons Magento discouraged these types of functions)
For example,
use Magento\Framework\...
7
votes
Accepted
Magento 2 - 2.3.1. Warning "JQMIGRATE: Migrate is installed with logging active, version 1.4.1"
Edit file lib/web/jquery/jquery-migrate.js
Look for at line 19
// Set to true to prevent console output; migrateWarnings still maintained
jQuery.migrateMute = false;
and change to true
// Set to true ...
7
votes
How to remove an argument's item in LayoutXML
Try to set it to xsi:type="null"
<item name="msrp_price" xsi:type="null"></item>
7
votes
Accepted
Error: DDL statements are not allowed in transactions while running setup:upgrade. Running Data Patch
After going through Declarative Schema docs again and referencing core magento code for Quote Module and Paypal Module I have figured that if you want to add a field into the existing table in Magento ...
7
votes
Accepted
How to display product image gallery in any phtml file?
Please check with below url -
first you need create you own module in magento 2 (you can search in google) , in ibnab we created extension with name Ibnab_CloudZoomy , Magento 2 system use the ...
6
votes
After upgrade from Magento 2.2.x to 2.3.x getting "No linked stock found" on multistore
I Had the same issue on a new (migrated) M2 Store
This was the solution:
Go to Stores -> Inventory -> Sources, add new Sources
Go to Stores -> Inventory -> Stocks Add new Stocks and select all stores,...
6
votes
File type .svg Error in image upload Magento 2.3.1
open OR overwrite below file and code <item name="svg" xsi:type="string">text/html</item>
/vendor/magento/module-cms/etc/di.xml
<type name="Magento\Cms\Model\Wysiwyg\Images\Storage"&...
6
votes
Shipment Email Template issue Magento 2.3.1
You can create a template file in your theme
this core file :
vendor/magento/module-sales/view/frontend/templates/email/shipment/track.phtml
and add condition before this function
...
6
votes
Accepted
Magento 2: While running "vendor/bin/phpcbf" Uncaught Error: Class 'PHP_CodeSniffer\Runner' not found
Inside project
Install
composer require squizlabs/php_codesniffer:^3.4
// magento ruleset
composer require magento/magento-coding-standard
// auto ruleset installer – automatically pickup '...
6
votes
Accepted
Upgrade magento 2.3.1 to 2.3.2
As far as I know, there are two main ways:
If using command line composer, you can follow this guide:
https://devdocs.magento.com/guides/v2.3/comp-mgr/cli/cli-upgrade.html
https://devdocs.magento....
6
votes
Elastic search was not working in Magento 2.3.2 (Enterprise edition)
Open below URL directly in the browser
http://127.0.0.1:9200/_cat/indices?v
127.0.0.1 - Replace with Elasticsearch Server Hostname
9200 - Replace with Elasticsearch Server Port
Will show ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
magento2.3.1 × 497magento2 × 160
magento2.3 × 45
product × 18
checkout × 18
rest-api × 14
pwa-studio × 14
pwa × 13
layout × 11
customer × 11
upgrade × 11
customer-account × 11
product-attribute × 10
magento2.3.2 × 10
attributes × 9
error × 9
frontend × 9
product-images × 9
admin × 8
category × 8
configurable-product × 7
email × 7
payment-methods × 7
installation × 7
custom-attributes × 7