Magento 2 loading slowly – N+1 problem and collections without limit
The category page took 18 seconds to load with 200 products. PageSpeed score: 12/100. The problem was not the server or Varnish – it was in a module’s code that executed a separate SQL query for every product.
- Published in Magento / Adobe Commerce
Magento 2 500 error after update – vendor/autoload and dependency conflicts
The shop stopped working immediately after running composer update. White screen or 500 error on the front and admin, logs full of PHP Fatal Error messages. Resolution time: 2 hours.
- Published in Magento / Adobe Commerce
Warden vs DDEV – comparison 2026: architecture, performance, Magento 2
Warden and DDEV are the two most popular local development environment tools for Magento 2. DDEV focuses on simplicity and fast start – it works out of the box after installation. Warden gives full control over network configuration and certificates, but requires more knowledge of Docker Compose. In 2026 both are mature products. I show where each one shines and when to choose which.
- Published in Środowiska
PHP Enums advanced – backed enums, methods, interfaces, Magento 2
Enums arrived in PHP 8.1 and are much more than a typed list of constants. Backed enums with string or int values, methods on enums, interface implementation, cases as function arguments – these are tools that eliminate an entire class of errors related to magic strings and unvalidated values. I show all the capabilities with practical examples from Magento 2.
- Published in PHP
