Every day at the same time I get a whole ream of CRIT alerts for invalid template files [2024-01-25T02:40:23.971560+00:00] main.CRITICAL: Invalid template file: 'widget/static_block/default.phtml' in module: 'Magento_Cms' block's name: 'widgetblock_4' [2024-01-25T02:40:23.971774+00:00] main.CRITICAL: Invalid template file: 'widget/link/link_block.phtml' in module: 'Magento_Cms' block's name: 'widgetpagelink_6' [2024-01-25T02:40:24.079384+00:00] main.CRITICAL: Invalid template file: 'widget/static_block/default.phtml' in module: […]
Daily Archives: January 28, 2024
I’m using a payment method of my country. When somebody realice an order in my website, and the payment is successfully, the order is changed to status complete. The problem is, I can’t do “invoice”, and the lifetime sales statistics in the dashboard is not updated. (I guess it is […]
We have an issue where we get data from a client. They are copying and pasting from websites so things are a mess atm. So we have attributes with sku values in them. I did try and delete them manually but Magneto admin just crashes and the values i have […]
I have a very simple Component define([ 'uiComponent', 'Magento_Customer/js/customer-data' ], function (Component, customerData) { 'use strict'; return Component.extend({ /** @inheritdoc */ initialize: function () { this._super(); this.notificationCounts = customerData.get('notification_counts'); } }); }); I want to conditionally display an html element based on whether I have or not have any notifications. […]
I want to create an order programmatically using Cron jobs, the codes run perfectly but when creating the order i got ‘Error: Type Error occurred when creating object: MagentoInventoryIndexerModelQueueReservationData, Argument 2 passed to MagentoInventoryIndexerModelQueueReservationData::__construct() must be of the type int, null given, called in /var/www/html/magento2/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121string’ <?php namespace […]
Here’s the deal. I had an NVME drive from a dead laptop that I needed to recover data from. I don’t have any sort of adapter so I removed the NVME from my working Linux tower and swapped in the target for recovery. I recovered the data using a live […]
I’ve got a Rust implementation of Shadowsocks (no plug-ins) server, which can be found here, running on my VPS but I have no idea how to configure a client correctly so that all my desktop’s outgoing traffic would go through my Shadowsocks proxy. I have no such issue on my […]
Problem with shutdown.exe command in Windows 11. Using PowerShell (Run as administrator) And having run Set-ExcecutionPolicy Notepad,MMC, Resmon All execute perfectly, but not shutdown, here is the resulting verbiage. PS C:WINDOWSsystem32> shutdown Usage: C:Windowssystem32shutdown.exe [/i | /l | /s | /sg | /r | /g | /a | /p | […]
I use an ASUS laptop that runs windows 11 More recently I’ve noticed that while using my laptop, the screen will go black for a split second and when it comes back on, my mouse is very pixelated. The only way it fixes is if I turn my screen off […]