I have a JS file like this: define([ 'jquery', 'underscore', 'matchMedia', 'text!ajaxcart/template/modal-slide.html', 'text!ajaxcart/template/modal-popup.html', 'Magento_Customer/js/customer-data', 'Magento_Catalog/product/view/validation', 'Magento_Ui/js/modal/modal', 'mage/translate' ], function($, _, mediaCheck, _slideTpl, _popupTpl, customerData) { ... } But for some reason, it is not entered into the code in function until I remove “Magento_Customer/js/customer-data”. I mean, if I change it […]
Daily Archives: April 20, 2023
I am very surprised by the fact that I found that it seems that Magento 2 launches all RabbitMQ consumers only by cron. I expected to see RabbitMQ as a separate application that accepts tasks from PHP / Magento code as input. And later, RebbitMQ itself decides at what time […]
its given when indexing Category Products index Category Products index process error during indexation process: SQLSTATE[70100]: <<Unknown error>>: 1907 Query execution was interrupted, query_timeout exceeded, query was: INSERT INTO catalog_category_product_index_store2_tmp (category_id, pr oduct_id, position, is_parent, store_id, visibility) SELECT cc.entity_idAScategory_id, ccp.product_id, ccp.position, 1 AS is_parent, 2 AS store_id, IFNULL( cpvs.value, cpvd.value) […]
When running api functional tests on a module which uses non-scalar array extension attribute type, I’ve got the error ReflectionException: Class "ModuleNameCustomerApiCustomAddressInterface[]" does not exist the attribute is declared as: <extension_attributes for="MagentoCompanyApiDataCompanyInterface"> <attribute code="custom_addresses" type="ModuleNameCustomerApiCustomAddressInterface[]" /> </extension_attributes> The module works perfectly outside the testing framework I run the tests as: […]
I have an MT7615 based wireless network adapter which apparently supports dual band concurrent mode. So how would I go about setting up two access points one on 2.4GHz frequency and another one on 5GHz using hostapd? My current 2.4GHz hostapd config looks something like this: ssid=XXX interface=wlan0 hw_mode=g channel=9 […]
I have two Ubuntu machines on a 2.5Gbps network. When I launch X11 applications remotely, after logging in with ssh -X I get very slow X11 performance. The applications often take half a minute to launch, for instance. How can I debug this slow X11 networking? The network between the […]
I have tried some approaches as shown below to disable numlock permanently on my Windows machine, but none of them is working: https://technoresult.com/how-to-disable-num-lock-completely-in-windows-10-11/ I also tried to use some 3rd party tools, but I don’t want to use them as they are not working properly all the time. There are […]
I have suffered from double clicking problem on most of single click on Windows 11 and tried to solve the problem by applying the following steps: I have encountered this problem for my 2 different mouses: Logitech Wireless M185 Logitech M305 Wireless Optical Mouse Cleaning all part of the mouses […]