The store front shows 500 Internal server error after I followed all instructions in the article here to upgrade Magento. On checking the version of Magento with the command bin/magento --version after the upgrade process, I see this old version. Running git status shows what’s seen in the image below. […]
Daily Archives: July 17, 2022
As I ran the command composer require -w as part of the process to upgrade Magento 2.4.2 to 2.4.4, I found the error seen in the image below. Below is the article I’m referring to upgrade Magento. https://www.mgt-commerce.com/tutorial/how-to-upgrade-magento-2-4-3-to-magento-2-4-4/ I request someone to share the list of commands to be run […]
I am creating a second store in the same website, for that i followed blow link https://magefan.com/blog/create-multiple-stores-in-magento-2. After Created a new store it’s looking as below. Then in that store I changed the base url and base secure url as like below Now in my home page I’ve got the […]
We need to get concrete error message when MagentoCatalogModelProductRepository throws CouldNotSaveException during saveProduct() private function saveProduct($product): void { try { $this->removeProductFromLocalCacheBySku($product->getSku()); $this->removeProductFromLocalCacheById($product->getId()); $this->resourceModel->save($product); } catch (ConnectionException $exception) { ... } catch (Exception $e) { throw new CouldNotSaveException( __('The product was unable to be saved. Please try again.'), $e ); } […]
I am trying to run some of my code by each time, I am getting this error, I am using the latest version of PHP. I replaced my caused as per the error; from this function __autoload($class_name) { $class_name = strtolower($class_name); $path = LIB_PATH.DS."{$class_name}.php"; if(file_exists($path)){ require_once($path); }else{ die("The file {$class_name}.php […]
I use the Windows’ Photo Link program to link to my phone: Where does Windows’ Phone Link program save its data (SMS, photos, etc.) on Windows 10?
Currently trying to figure out and see if it’s possible to pull up all previous metadata information on an MP3 to see where it was like downloaded from & what did the file look like before editing it
Ok, so I was going to code so I opened vscode, but for some reason, my terminal font turned into monospace, even tho my settings for the terminal font was still the same. My font is MesloLGM Nerd Font Mono, since I use oh-my-posh, I have to use a nerd […]
How can I find a string in an HTML file whenever it is used and replace it (similar to ctrl + h = replace), then rename this file with the same string modified by creating new copy of the initial file, than repeat this steps from a list of strings. […]