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 [magento2.3]

Denotes questions related to Magento CE and EE 2.3.x

2
votes
0answers
15 views

Magento 2.3 Layered Navigation issue

I'm working on Magento 2.3 and has a new issue when call block on custom view: $layer=$layout->createBlock('Magento\LayeredNavigation\Block\Navigation\Category'); Exception #0 (RuntimeException): ...
2
votes
1answer
15 views

whenever i do any change in xml file i need to remove pub/static folder then it works

I am trying to do some change in default.xml but whenever i do any change in xml layout i have to clear cache and remove pub/static folder var/cache folder . is there any way to skip these steps and ...
2
votes
1answer
25 views

Product images not load PWA setup magento 2.3

I had done a PWA setup on my local machine. I am facing product and category images issue. Images path : src="data:image/png;base64,...
-1
votes
0answers
22 views

Adding a custom model with product grid in Magento 2.3

I have created an admin form using the UI component in a custom module. I need to add a product grid like in the Catalog -> categories (products in category section). My basic requirement is to ...
2
votes
0answers
16 views

You need to choose options for your item in Magento2 after running command indexer:reindex

I Moved database and webserver files from one server to another. After moving everything works fine. But when i run php bin/magento indexer:reindex on new server then while adding products ...
2
votes
1answer
17 views

Declaration error during compile

Just update to 2.3.0, use setup:di:compile and get following error: Warning: Declaration of Iksanika\Productmanage\Model\ResourceModel\Search\Collection::_getSelectCountSql($select = NULL, $...
3
votes
0answers
26 views

Create Block Hide/Show Editor removes empty span

I created a new block in Magento 2.3 and want to use <span> to place some icons in front of a text. I clicked on Hide/Show editor and pasted my code <div class="item"><span class="top-...
2
votes
1answer
31 views

Magento 2.3 Update Source Stock

Im currently creating a module that should update product quantity per source, based on SKU. Im using Magento\InventoryApi\Api\SourceItemsSaveInterface and Magento\InventoryApi\Api\Data\...
3
votes
1answer
20 views

API call and observer on customer creation

I want to create an observer when a new customer is registered through the REST API (POST /rest/V1/customers). I have created an observer customer_register_success but it's only been triggered when a ...
1
vote
1answer
17 views

PHPUnit_Framework_TestCase not found

just made upgrade to 2.3.0 and while compilation get this error: server@server:~/web/server.dev.company.com/public_html$ /usr/bin/php7.1 bin/magento setup:di:compile Compilation was started. ...
1
vote
0answers
17 views

How to disable frontend for CMS/API-only, headless Magento 2.3

I'm currently working on a web-app that uses Magento 2.3 as a CMS-only. How can I disable the customer-facing frontend and leave only the admin pages accessible? Alternatively, is there a way to set ...
1
vote
1answer
26 views

Programmatically create a wysiwyg editor for frontend magento 2.3

I don't see any examples in frontend of magento for this case. Wonder how to add editor field from php class instead template When try to call wysiwygConfig->getConfig() in my block class i got error ...
3
votes
3answers
33 views

Get recently viewed products excluding particular product ID in Magento 2

I need to get recently viewed products for a customer in a product view but excluding the current product the customer is viewing. I have, class Index extends Action { protected $recentlyViewed; ...
1
vote
1answer
20 views

should i use ubuntu or centos 7 for magento 2 development

I have worked on windows and it is very very slow with so many errors , i need a recommendation what linux should i use for development in magento 2 . Centos 7 , Ubuntu or anything else i want supper ...
0
votes
0answers
14 views

getCurrentCategory() returns Root Category every time on Magento 2

I detected that some categories on my site don't show the correct products. Instead, show ALL products assigned to the root category. I made a test adding this to my list.phtml: $block->getLayer()-...
1
vote
1answer
24 views

segmentation fault

Just updated from M2.2.7 to M2.3.0. And now have next trouble: git:(update-to-2.3.0) ✗bin/magento setup:di:compile Compilation was started.Repositories code generation... 1/7 [====>-------------...
0
votes
1answer
15 views

Which is the supported version of rabitmq for magento 2.3 ce?

I followed the official magento documentation and installed Rabitmq 3.5.6. However i was reading this document https://www.rabbitmq.com/which-erlang.html and i found that Rabitmq 3.5.6 version is ...
1
vote
0answers
20 views

Login to admin pending forever with Valet+

I'm using Valet+ on MacOS and have tweaked the Nginx and PHP configs to increase execution time etc. Doing a fresh install, the frontend will load, slow at first, but fast after subsequent reloads, ...
0
votes
0answers
9 views

Magento 2 : How to display default Loader when add to cart on list page?

I want to display default loader of Magento 2 while add to cart from category page. currently customers are confused about adding product to cart. Please give me some solution or suggestion.
0
votes
1answer
22 views

Migration 1.9.4 to Magento 2.3.0 Setting command after error

When i run below command sudo php bin/magento migrate:settings --reset vendor/magento/data-migration-tool/etc/opensource-to-opensource/1.9.4.0/config.xml after below error showing SQLSTATE[...
0
votes
2answers
51 views

Invalid template file issue in Magento 2.3

I am seeing invalid template file error Invalid template file: 'Sam_Options::after_nav_banner.phtml' in module: '' block's name: 'header.right.custom.area' I have tried doing view in small ...
0
votes
0answers
11 views

Magento 2.3 : How to use plugin after method for Magento\Framework\Config\SchemaLocator.php

Here is my code which works perfectly in Magento 2.2x version but when I placed in 2.3 version and it throws me an error. In di.xml <?xml version="1.0"?> ...
0
votes
0answers
15 views

Avoid product duplication when trying to save from multiple ways

I am using Magento 2.3 version. I have a case to create the product from two XML when it hits my function. For example, I have two XML: A.XML and B.XML. Both XML will be triggered at a time or ...
1
vote
0answers
13 views

Magento2: Order summary always expanded

I am using Magento 2.3.0 and I want the Cart Order Summary always expanded. All solutions I have found wont work. Is there any workaround or has something changed in 2.3?
1
vote
2answers
15 views

Magento 2.3 | Get a list of all sites

is it possible to get a list of all sites programatically? Thanks in Advance!
1
vote
0answers
36 views

Payment Method not showing information in admin order detail

I've created a custom payment method and want to see the information inside the admin order detail page. The payment method is a custom instore payment method and working so far. I'd like to know ...
0
votes
1answer
13 views

Magento 2: Newsletter subscription success message disappear so fast

While subscribing newsletter, it disappears the success message so fast,So it is unable to notify the frontend user. Please provide me a solution.
0
votes
1answer
15 views

Cron in my custom module is not running

I have created a cron group as below, cron_groups.xml <?xml version="1.0"?> <!-- /** * path: * magento_home/app/code/vendor/module/etc/cron_groups.xml */ --> <config xmlns:xsi="...
0
votes
1answer
32 views

Install bluefoot on Magento 2.3.0 Commerce

When I try to install gene/bluefoot on Magento EE 2.3.0 with composer I've got this error : Problem 1 - Conclusion: don't install gene/bluefoot 1.0.31 - gene/bluefoot 1.0.30 conflicts with magento/...
1
vote
0answers
16 views

Magento 2.3 checkout page hang up due to knockoujs or underscore

After magento 2.2.4 upgraded to magento 2.3.0 checkout page is not working. Checkout page hang up browser and showing browser warning to stop it. When click on stop it is showing some jquery warning ...
2
votes
1answer
35 views

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key 'SALES_ORDER_INCREMENT_ID_STORE_ID'

I am using this data-migration-tool, When i migrate from magento 1.9.3.2 to magento 2.3,getting below error, SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key '...
0
votes
1answer
29 views

“Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with id = 4 ” in magento 2

While tried to open products via admin end, it throws below error, 1 exception(s): Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with id = 4 Exception #0 (Magento\...
1
vote
0answers
18 views

Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() must be of the type string, null given

When i trying to install data migration tool then getting this error in SSH PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\Console\Helper\ProgressBar::setFormat() ...
0
votes
1answer
13 views

“invalid Domain for site key” issue in Captcha in contact us form in magento 2

While opening contact us form it shows error like below Please provide me a solution to sort out this.
1
vote
1answer
112 views

I want hide Add New Customer button for specific admin roles

I want to hide "ADD NEW CUSTOMER" button on customer_grid page for certain admin roles, how to specify Specify ACL's for ui_components..?
-1
votes
0answers
18 views

magento2 hosting on Litespeed [closed]

i'm seeking help to host magento2 on litespeed webserver. Please contact me at googlina.web2atgmail.com for the same. i'm waiting for your response. Thanks in advance. Regards, Magento friends
0
votes
0answers
12 views

Output customer group id into div class magento 2.3

I would like to get the customer group id to put them into an class I have changed the emty.xml as follow app/design/frontend/{store}/{storefront}/Magento_Theme/page_layout/empty.xml <container ...
1
vote
2answers
38 views

how form_key is forcefully required in the Magento 2.3?

form_key was always the required in the Magento, but in Magento 2.3 they made the form_key forcefully required. So, I want to know, how Magento is validating the form_key in every post request.
2
votes
0answers
18 views

Show arabic digits for prices in arabic store

I want to show arabic digit for arabic store and english digit for english store.is there any way in magento 2.3
0
votes
0answers
12 views

Magento suggest installing frameworks

When I install Magento community edition in windows 10 some of it frameworks suggest me to install other resources. Is it okay to leave it like this or I have to install these frame works. If i have ...
1
vote
1answer
20 views

Magento 2: How to setup Elasticsearch from CLI?

We need to setup elasticsearch on Magento 2 when a new container starts. We have post-install scripts that could handle that and not have someone go into the admin and manually do it. Thanks.
1
vote
1answer
56 views

Magento 2.3.0 - Can't login to admin

I can't login to admin panel on Magento 2.3.0 version. After I press Sign In button I have this message: "Invalid Form Key. Please refresh the page." and in the system.log file I have this: [2019-02-...
1
vote
1answer
43 views

Attempt to load value of nonexistent EAV attribute for entity type Magento\Catalog\Api\Data\ProductInterface magento 2.3

Actually i am getting this error while editing products from product grid magento2.3 Actually i deleted some custom attribute using code as well as manually from backend after this i got ...
1
vote
0answers
31 views

Error after removing database Prefix

I am in the process of upgrading our Magento 2.2.5 website to version 2.3. I have managed to do this and the website works fine, as far as I can tell. However, we have a third party extension for a ...
0
votes
0answers
4 views

Error on logo upload blank theme

I am getting an error when uploading a new logo on Valet+ A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again ...
1
vote
1answer
28 views

Magento 2.3 - Need detail about some newly introduced feature

I need to know about some of the newly introduced featured of Magento 2.3 GraphQL Declarative DB Schema Asynchronous and Bulk Web API There are few blogs information but not elaborating properly. I ...
1
vote
0answers
20 views

English to english translation problem magento2

I am translating the text("You canceled the coupon code.") with "Thank you for canceling the coupon code" (This is just english to english translation) from Magento\Checkout\Controller\Cart\CouponPost ...
6
votes
2answers
118 views
+50

Magento Total saleble qty displays wrong count

I've magento setup with MSI with 2 sources and both are assigned to stocks as well. But In product grid Total Salable Qty displays wrong count. It suppose to be sum of total available sources. ...
0
votes
0answers
11 views

Magento 2.3 Importing process is really slow

I am trying to import 20,000 products from CSV in Magento 2.3 it's really slow it took 1 hour to complete it but the same file when I tried to upload in Magento 2.2.3 it just finished in 10 minutes. ...
2
votes
1answer
34 views

Error composer 1.8.4 on magento 2.3.0 CE

I got this warning : Warning: Unsupported declare 'strict_types' in /home/SITE_NAME/public_html/vendor/magento/inventory-composer-installer/src/Plugin.php on line 6 And this error : Parse error: ...