I’m using Mark Shuts docker version, If xdebug is enabled, bin/magento commands won’t work, and let’s say if i run bin/magento cache:clean PhpStorm starts to debug out of nothing. Also I get this message in console: Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (through xdebug.client_host/xdebug.client_port) :-( […]
Yearly Archives: 2024
Cron tasks in Magento are executed every minute and when product import and indexing tasks are executed simultaneously database deadlock occurs. Changing settings in “System > Cron (Scheduled Tasks) > Cron configuration options for group:index” doesn’t help, all indexing tasks still run every minute. How can I make it to […]
I’m using Magento 2.4, I created an event & observer checkout_submit_all_after, and after placing an order I get the following error below in the log. Thanks for the help. LOG main.ERROR: The resource isn't set. {"File":"/var/www/html/ruralking.local/vendor/magento/framework/Model/AbstractModel.php", "Line":479,"Trace": [{"file":"/var/www/html/ruralking.local/vendor/magento/framework/Model/AbstractModel.php" ,"line":658,"function":"_getResource","class":"Magento\Framework\Model\AbstractModel", "type":"->"}, {"file":"/var/www/html/ruralking.local/app/code/Rural/OracleOrderSync/Observer/OrderSucce ss.php","line":75,"function":"save" Observer/OrderSuccess.php <?php namespace RuralOracleOrderSyncObserver; use MagentoFrameworkEventObserver; use MagentoFrameworkEventObserverInterface; […]
I have created a custom table in database of magento 2. I want to insert some data into this custom table. I want to pass this data from controller to the custom table in magento 2.4. Please can any one guide how can i do that.
I have noted that some tutorials (ex.: Arch Linux Root on ZFS) use mountpoint=legacy while others (ex.: Install Arch Linux on ZFS) use mountpoint=none for what the datasets used as a containers for separation of system data and user data (/home). They are exchangeable and haven’t noticed any difference on […]
I have a router ASUS RT-AC1200. Firmware is the latest: 3.0.0.4.380_10931-gfed566f. It is connected to my Internet Service Provider (ISP). The router has a static MAC address, which I don’t change at all. Different clients are connected to the router via LAN cable. My ISP has filtering logic, that provides […]
I switched my Visual Studio 2022 to use the dark theme. By default, The background color of the various areas of the window is set to RGB 30/30/30. I wanted to reduce the contrast between the background and the source code and managed to do it modifying the background-color from […]
I have bought a brand new Seagate CONSTELLATION ES 7200.3 drive. It was laying in my desk’s drawer for over a year, but now I decided to connect it to my PC. When I first switched on the computer with the drive connected I was hearing a strange noise during […]
Hardware: Mini PC Intel 12th Gen Alder Lake- N95 8GB DDR4 RAM 256GB PCIe 1X SSD Tried to install Debian 12 on whole system from flash but failed to install boot loader and now only boots into grub. Can access system by typing into grub: set root=(hd0,gpt2) linux /boot/vmlinuz-6.5.0-5-amd64 root=/dev/nvme0n1p2 […]