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.
If you get this message when you are using Docker on Synology Diskstation and try to download an image from the Docker Registry, then you might find this solution useful. At first, not knowing why it fails, I went to try downloading the image via ssh console. I’ve enabled SSH access, ssh’d into the nas,…
Open Acrobat Reader Go to top menu Acrobat Reader > Preferences Copy/paste the following path into the Library Path field: /usr/local/lib/libeTPkcs11.dylib After pressing OK, select SafeNet eToken PKCS#11 under PKCS#11 Modules and Tokens Press Login button on the right panel and enter your token PIN Select the token from the left panel, then the certificate in the right panel, then…
Posibil sa va loviti de eroarea ERR_BAD_SSL_CLIENT_AUTH_CERT cand veti folosi certificatul de semnatura electronica calificata cu token de la certSign, pe MacOS Monterey/Sonoma folosind Google Chrome. Pentru obtinerea documentului de confirmare, necesar la inrolarea in ANAF SPV, la accesarea sitului https://confirmare-doc.certsign.ro/ , Chrome va afisa ERR_BAD_SSL_CLIENT_AUTH_CERT. Solutia gasita este folosirea browserului Mozilla Firefox si este…
Receiving ERR_BAD_SSL_CLIENT_AUTH_CERT for specific website on MacOS Chrome with SafeNet token? Here is how to make it work with Firefox.
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…
I would like to throw out the engineers who designed the so called “US INTL” layout, the only one officially sold by Apple and Logitech in Romania, instead of the US (ANSI) or ISO layout choices. Why on earth would you replace the perfectly useful apostrophe ` key, especially for window switching together with CMD+`…
If you recently stopped receiving emails from your Magento 1.x shop and you are using an Office 365 SMTP account configured in Aschroder SMTP Pro extension, then you might find this in your logs: ==> var/log/system.log <== Warning: stream_socket_enable_crypto(): SSL: Success in /home/cbeauty/public_html/lib/Zend/Mail/Protocol/Smtp.php on line 206 ==> var/log/exception.log <==ERR (3): Zend_Mail_Protocol_Exception: Unable to connect via…
I needed a way to limit the top speed of the Haiboxing HBX 12891 RC car, for control training purposes. Since I haven’t found any solution, I wrote this guide to help others looking. The easiest solution I’ve found is to electronically limit the potentiometer range for the trottle. The potentiometer resistance is 5kOhms. Use…
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…
Quick solution to move website on new host and keep email on old host Do you want to move your website to a new host, but keep email on the old server ? I am not a DNS settings expert, but this solution worked for me to move the website from a cPanel host to…
One reason for this, other than the ones already mentioned in the numerous stackexchange posts, can be having an incorrectly referenced resource loading on the current page, which causes the regeneration of the captcha in session, without refreshing the frontend shown captcha image. For example, I was having a JS file referencing an image, which…
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…
Debug tools DPCIManager https://github.com/MuntashirAkon/DPCIManager/releases Piker-Alpha ssdtPRgen.sh Look at the forks graph if you’re looking for the latest additions: https://github.com/Piker-Alpha/ssdtPRGen.sh/network
Magento 1.x custom customer attribute not visible in REST API2 Attributes ACL, while custom customer address attribute is visible. To debug why attribute does not show up on the ACL from REST Attributes page in Magento backend, we need to look at b/app/code/core/Mage/Api2/Model/Resource.php in getEavAttributes() method. You can log here and see why it gets…