Magento 2 Invoice addComment() error
In Magento 2.4.8, calling Invoice::getComments() before Invoice::addComment() can cause a fatal Call to a member function addItem() on array error due to inconsistent handling of the comments data key.
In Magento 2.4.8, calling Invoice::getComments() before Invoice::addComment() can cause a fatal Call to a member function addItem() on array error due to inconsistent handling of the comments data key.
While working in a local dev environment using Docker, I’ve had Magento 2 missing setup folder from time to time, on environments using Warden or SwiftOtter/Den. Also found reports that it happens using ddev. The most common situation is when switching between branches having different magento2 versions, therefore having different magento2-base module versions. This is…
Clone from your repository, importing your database and setting up to go live Creating a new vanilla Magento 2.3 instance in AWS LightSail is pretty easy and straightforward, with just a few clicks you can have your Magento 2 shop up and running, but deploying your already made Magento 2 from your repository, importing your…
After Porto theme removal (which includes Smartwave Megamenu), when accessing Categories page in the backend, you get an error report which contains: This is because the extension added new category attributes that reference source models which have been removed. To solve it, first DO A BACKUP of the database, then run this query to see…