I get error when I open admin panel of Magento 2.4 BadRequest400Exception(code: 400): {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [position_category_103] in order to sort on I tried bin/magento indexer:reindex and bin/magento indexer:reindex catalogsearch_fulltext but it doesn’t help
Blog
I already try this : public function execute(Observer $observer) { $layout = '<referenceContainer name="main"> <block class="CMBlockModalOverlay" template="C_M::modal_overlay.phtml"/> </referenceContainer>'; $observer->getLayout()->getUpdate()->addUpdate($layout); $observer->generateXml(); }
I see in my reservation table some products’ stocks have been compensated when it’s invoiced and some when it’s shipped. I ran the CLI commands below, and I don’t see any inconsistencies. php -d memory_limit=-1 bin/magento inventory:reservation:list-inconsistencies -r -c | xargs -L1 php -d memory_limit=-1 bin/magento inventory:reservation:create-compensations Why it’s happening? […]
For some reason on a new page I created on the admin, I can’t pass text to Body. Is there any way to suggest what I’m missing? My code: appcodeDevRestApietcadminhtmlmenu.xml <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd"> <menu> <add id="Dev_RestApi::dev_module" title="Dev Module" module="Dev_RestApi" sortOrder="10" parent="Magento_Backend::content" resource="Dev_RestApi::dev_module"/> <add id="Dev_RestApi::dev_module_PriceInfo_Module" title="PriceInfo_Module" module="Dev_RestApi" sortOrder="10" […]
As an admin, I’m looking to see if there is a way for me to set limitations on the Linux devices we use for development. (i.e)- I want to give my users SUDO access / the ability to use sudo IF needed, But they can’t Start or Stop running background […]
I set up a server to self host and cannot ssh into it, and I’m having trouble debugging the issue. This is the error I get when I run ssh with verbose logging: OpenSSH_9.4p1, OpenSSL 3.1.2 1 Aug 2023 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 2: include /etc/ssh/ssh_config.d/*.conf […]
here is my Code public function checkCondition() { // $PrId = $this->_registry->registry(‘current_product’); // $prdId = $PrId->getId(); $categoryId = $this->getRequest()->getParam(‘id’); $ruleColl = $this->customConditionModel->create()->getCollection(); foreach ($ruleColl as $ruleKey => $ruleVal) { $prdData = $this->categoryFactory->create()->load($categoryId); $Data[] = $ruleVal->getConditions()->getName(); } $data = isset($Data); if($Data == false){ echo ''; }else{ return $Data; } // $data1 […]
My process on a users machine consumes 5-20% cpu continuously even when machine is idle. I cannot repro this issue on my end. So I am bit lost on how can I investigate this issue. Please note that 5-20% cpu consumption that I am talking about is not at machine […]
I have a nginx web server running on my raspberry PI. In the webserver I have a React App, and a node server on the backend. When I run this locally, everything works great. But I am stumped on getting the virtualhost configuration to be able to utilize and reach […]