It seems that on my Magento 2 instance the controller methods are somehow cached because I am doing changes, compiling the code, but they are not visible when they are called. I even added a die() within the main controller method, but I am getting the same result: the controller […]
Daily Archives: January 26, 2022
The order is placed and the payment goes through, but the user just sees a blank page (FF) or a generic 500 message (Chrome). When renewing the page, the message is A successful payment transaction has already been completed. Please, check if the order has been placed. Other payment methods […]
Try to catch the quote items, it’s working fine. But when quote is not in default website, the request is empty. How to change website ID or store ID in quote request? Did try with: $quote->setStore() $quote->setStoreId() But no luck. This is the code: $orderId = 123; $objectManager = MagentoFrameworkAppObjectManager::getInstance(); […]
Error found in System.log only in Production, not in Developer Mode: [2022-01-25 12:15:26] main.CRITICAL: Type Error occurred when creating object: AmastyPageSpeedToolsModelOutputPageTypeGetConfigPathByPageType, Argument 1 passed to AmastyPageSpeedToolsModelOutputPageTypeGetConfigPathByPageType::__construct() must be of the type string, null given, called in /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121 [] [] The GetConfigPathByPageType declare(strict_types=1); namespace AmastyPageSpeedToolsModelOutputPageType; use MagentoFrameworkViewLayout; class […]
I’m working in Magento 2.3.5 – p1. I have the minicart in the sidebar, when a product is added the minicart opens for a few seconds and then closes automatically. When the minicart icon is clicked, the minicart opens in the sidebar. I need that when the minicart icon is […]
I’m trying to simplify/automate my development environment in Windows, I have a lot of shell files I run on both Windows and the Linux subsystem, I’ve recently taken to editing my /etc/wsl.conf to setting [automount] root = / This makes my path to windows /c/… instead of /mnt/c/… which has […]
I have an ASRock b450 pro4 mainboard and I want to disable CSM so I can enable Secure Boot. The problem is, my PC won’t start up / it goes straight into the BIOS, do I need to change anything else?
Is there code available to cause a screen to appear to allow me to select which OS (XP or WIN7) I wish to boot? I know that I can use F11, but that seems less practical for new users.
My computer was recently upgraded to Windows 11 and my default program for JPEG (.jpg, .jpeg) was changed from my preferred program of JPEGView to Photos (Windows default app). Photos takes a while to open and JPEGView opens much more quickly. I would like to change it back to JPEGView. […]