Category: Magento

Magento 2 Code Generation – “Incorrect dependency in class”

When running a php bin/magento setup:di:compile you may have at some point run into the “Incorrect dependency in class”¬†errors during the generation of the code. They look a little something like this:   This happens when you include a class in your constructor that is already available inside $context. The solution to this problem is actually quite simple. Instead of… Read more →

Magento Paypal Express – SSL Connect Error

Update: This is no longer an issue in CentOS 6.8.¬†According to the CentOS 6.8 changelog, “various applications now support TLS 1.2, i.e. OpenLDAP, yum, stunnel, vsftpd, git, postfix and others. Also TLS 1.2 has been enabled by default in various packages”   At the moment there is a common issue/problem that keeps cropping up in both work and on sites… Read more →