8

You need to create di.xml file here in your custom module app/code/Vendor/Module/etc/di.xml Content for this file is.. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <preference for="Magento\Reports\Model\ResourceModel\Order\Collection" type="...


6

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.com/guides/v2.3/comp-mgr/upgrader/upgrade-start.html (I haven't tried yet with Admin) With the command line and Open source version, on your local machine, you ...


6

bccomp() function belongs to BCMath package; if it's undefined, then possible this library not installed or it's not enabled for your PHP version. Like for php7.2 need to install for ubuntu distribution: sudo apt install php7.2-bcmath


6

Magento2 Class Magento\Framework\App\Http\Interceptor does not exist This issue is generate when you have make changes in your construction file and it's Factory class is not update in generated folder For that you need remove generated folder from your magento root rm -rf generated/* After remove generated now compile the site php bin/magento setup:di:...


5

Please try this way using payment_method_is_active event observer. Create events.xml file with the below content. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> <event name="payment_method_is_active"> <observer name="...


5

And another Answer --- thanks to the Chat with Wilson Hauck: He pointed out, that the quotes might confuse the new optimized in 10.3 I took the full query.sql from above and extracted only the select part: SELECT 2 AS `category_id`, `cp`.`entity_id` AS `product_id`, IF(ccp.product_id IS NOT NULL, ccp.position, 0) AS `position`, IF(ccp.product_id IS NOT ...


5

How to add new custom block on admin dashboard Magento 2? You can add this file in your custom module here app/code/Vendor/Module/view/adminhtml/layout/adminhtml_dashboard_index.xml Content for this file is.. <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:...


4

A common issue is that Magento is looking for the pictures in the old cache files that are missing after the upgrade as the cache was cleared. Try below actions: A catalog reindex. Follow below article for reindex steps. https://support.weltpixel.com/hc/en-us/articles/115000355673-How-to-reindex-your-Magento-2-store-from-admin-or-SSH-CLI Re-generate ...


4

Do not load ReCaptcha block if disabled In /vendor/msp/recaptcha/Block/Frontend/ReCaptcha.php => replace this code in ReCaptcha.php <?php /** * MageSpecialist * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the ...


4

You can get it with payment_method_is_active event observer. Create events.xml file with below content. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> <event name="payment_method_is_active"> <observer name="payroll_payment_method_is_active" ...


4

You can do it in the following way. Create the new product attribute set enable for redirect products. Now Create event using your custom module (NOTE: If you don't have any module then create new module and then create event in that) So in your events.xml add following code /app/code/Vendor/Module/etc/events.xml <?xml version="1.0" ?> <config ...


4

@Alex In your value list of id's to be managed, the quotes are likely causing the processing to work harder than when you use simply the number to be managed as an INT data type. If you find this suggestion helpful, please consider upvote and accept.


3

Please use below commands to upgrade from 2.3.1 to 2.3.2 (it is wise to keep backup of source code and database before upgrade) php bin/magento maintenance:enable composer require magento/product-community-edition 2.3.2 --no-update composer update rm -rf var/cache/ rm -rf generated/ chmod +x bin/magento php bin/magento setup:upgrade php bin/magento ...


3

Seems like a bug to me. I fixed it by modifying this function in vendor/magento/module-asynchronous-operations/Model/BulkManagement.php Bad of me but hey, maybe it's a PR :) private function publishOperations(array $operations) { $operationsByTopics = []; foreach ($operations as $operation) { + $this->entityManager->...


3

I had this exact same problem with Magento 2.3.2 For me it was product thumbnail images that had the wrong cache hash path and was showing the std Magento image placeholder. I was using a custom theme. No matter how many times i ran "php bin/magento catalog:images:resize" still the same problem. I found that the images were being generated using the Luma ...


3

On June 25, 2019, the Magento version 2.3.2 was released. Improvements to Magento 2.3.2 require installing libsodium cryptographic library version 1.0.13 or higher. Without this you will get an error in the MSP_TwoFactorAuth module. Try below command for Linux (Fedora) dnf install libsodium Also execute command for magento rm -rf var/cache/* var/...


3

In 2.3 queues were added for product mass updates. You would need to run the consumer for product_action_attribute.update for it to process the updates. In your case it would be bin/magento queue:consumers:start product_action_attribute.update, you could have multiple consumers running at the same time, but I guess one will do.


3

I think "Webkul\Marketplace\Api\ControllersRepositoryInterface.php" file is missing in the module. So please check that file is in your module or not. If that file is missing, then get the file and add the file in your module "Webkul\Marketplace\Api\ControllersRepositoryInterface.php" path. After that, run php bin/magento cache:flush command and check.


3

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 below table: health status index uuid pri rep docs.count docs.deleted store.size pri.store.size yellow open ...


3

This Issue Already Add In GitHub If You Not Using ReCaptcha You Can Disable Those Modules. You have to disable the Magento_PaypalReCaptcha module as well since it's a dependency: php bin/magento module:disable Magento_PaypalReCaptcha php bin/magento module:disable MSP_ReCaptcha


3

For anyone else who runs into this issue when you upgrade. 2.3.2 adds new fields for the recaptcha and enables all of them. When I disabled the newsletter recaptcha this error was cleared from the console.


3

I totally understand your motivation to simply run the tests against the copy of the production database. I've done that in the past, too, but it also came back to bite me like it is happening to you. In the following response I'll focus on integration testing, since I think that is where the most value lies. For MFTF or legacy functional tests I can't give ...


3

First run the following command: php bin/magento deploy:mode:set production -s After that you can run following in sequence: sudo rm -rf var/cache/* var/page_cache/* generated/* sudo chmod -R 777 var/ generated/ pub/static/ app/etc/ pub/media/ sudo php bin/magento setup:upgrade sudo chmod -R 777 var/ generated/ pub/static/ app/etc/ pub/media/ php -d ...


3

Give permission to generated folder from Terminal. Use below command chmod -R -v 777 generated After that run compile command and let me know if it's works.


3

Backup and delete the file /vendor/magento/module-quote-graph-ql/Model/Cart/SetShippingAddressOnCart.php


3

Take a look at Magento default: vendor/magento/module-sales-rule/Plugin/CartTotalRepository.php As we can see, coupon_label is an extension attribute. So, we can follow this rule. Create our coupon description extension attribute. app/code/Vendor/Quote/etc/extension_attributes.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/...


3

your AddtoCart Button out of the form id="product_addtocart_form" please move your addtocart Button with form like: xml move <move element="product.info" destination="product.info.main" after="mageArray.checkDelivery"/> Hope this will help you. thanks


3

I have to check your website and I have to find it what is an exact issue on your site. In your addtocart action form action not available Your AddtoCart HTML:- <div class="box-tocart"> <div class="fieldset"> <div class="field qty"> <label class="label" for="qty"><span>Qty:</span></...


3

If @Rising answer not work try this. In newsletter_manage_index.xml try this code. <?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/...


3

Hi Hardik you have solved this problem using below ways 1) By putting your model code inside $( document ).ready() 2) Check the length of your div whether you declared div is available or not. Try the below code. require( [ 'jquery', 'Magento_Ui/js/modal/modal', 'owlslider' ], function( $, modal ) { ...


Only top voted, non community-wiki answers of a minimum length are eligible