19

I noticed in Magento 2.3.4, they created the LayoutUpdate file with the attributes custom_layout_update_file. When we revert back, the attribute calling the file and cause the issue. solution: Go to your Database and search the table eav_attribute Run below query SELECT * FROM `eav_attribute` WHERE `attribute_code` LIKE 'custom_layout_update_file' You ...


13

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


9

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="...


7

You can add this in your php.ini file include_path = ".:/yourpathtomagento/vendor/magento/zendframework1/library" Add your Magento Root directory path where I have mentioned yourpathtomagento in the above path and then check. Note: Go to your console and move into your Magento installation directory and then run PWD command there and copy the whole path ...


7

The answer is yes.You can disable module Magento_Amqp. Magento have mechanism asynchronous that avoid many heavy task (export file, indexing table..) execute in same time. Just imagine in back-end,you have multiple admin user export products into csv file in the same time. It will really make your server stressful. So mechanism asynchronous allow when admin ...


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

Component\Inquiry\Model\Resource\Requests\Collection is the namespace of your collection for your resource models, it already exists, "overriding" it or creating a virtual type with the namespace won't do much. What you want to do in this specific case, where you are using a virtual type to pass to Magento\Framework\View\Element\UiComponent\...


6

Things you can try: remove the generated code directory (again): rm generated/code -rf upgrade your modules and re-compile: php bin/magento setup:upgrade php bin/magento setup:di:compile if there are any errors during compile, you found the reason for your problem - fix these errors first, and redo all the steps mentioned here. and if you're in ...


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

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 ...


5

Check your modules requirejs-config.js. Probably there is mapping like "Magento_Checkout/js/view/billing-address": "Vendor_ModuleName/js/view/billing-address", Then later Requirejs try to load all files that have Magento_Checkout/js/view/billing-address from module where this file doesn't exists. One option is to add to requirejs-config.js of the module ...


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

The Zend_Barcode has not been removed, only upgraded. You can use this class: \Zend\Barcode\Barcode. Associated composer package => zendframework/zend-barcode Best Regards


5

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


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

Finally able to resolve this issue by changing below configurations for Redis: break_after_frontend changed from 5 to 30 max_concurrency => changed from 6 to 25 break_after_frontend was the main culprit. Following error log helped to trace the issue. [2019-11-26 09:51:32] main.INFO: ip-10-0-0-78|28852: Successfully broke lock for ID ...


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

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 ...


4

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->...


4

Magento 2.3.2 has made big changes in the checkout section. below is the link for changes commit in GitHub. https://github.com/magento/magento2/commit/8a9a986f930cb5f8516b3fe5ecb6d1a6d3f9e8af In my case, I need to override the Magento_Checkout/js/view/billing-address/list.js file in a custom module to resolve the issue. @Mike Dubs you have to check above ...


4

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.


4

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 ...


4

I've faced the same issue while migration. You can fix this issue by following the below steps: Change the MySQL max_pocket_size from the MySQL console to 1000000000. run below query in MySQL console: set global net_buffer_length = 1000000; set global max_allowed_packet = 1000000000; Hope it'll help!


4

Remove Postcode from Checkout Beacuse the php validation return false, inside class Magento\Quote\Model\Quote\Address you will find validate function : First create the di.xml inisde you extension directly in folder etc YourVendor/YourExtName/etc/di.xml and fill : <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...


4

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.


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="...


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

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/...


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.


4

You can add Renderer in your Form.php file like this. $fieldset->addType( 'club_color', 'Vendor\Module\Block\Adminhtml\Renderer\Color' ); $field = $fieldset->addField( 'club_color', 'club_color', [ 'name' => 'club_color', 'label' => __('Color'), 'title' => __('Color') ] ); And now you need to ...


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