PHP Fatal error: Declaration of Magento\ComposerRootUpdatePlugin\Plugin\Commands\OverrideRequireCommand::execute

Posted on Leave a commentPosted in blog, Magento 2

This error message usually comes when you try to update your magento version or install or update any extension if your composer version is 2.7+. To solve this you need to add this patch once applied the error will be solved.Patch victor2X Certified Adobe Magento Commerce with 10+ years’ experience in Magento platform

SQLSTATE[HY000] [2002] No such file or directory (Frontend)

Posted on Leave a commentPosted in Magento 2

Just fixed this issue that i was approached for. This relates to all magento 2 version below 2.4.0. Everything is working in cli. upgrade, compile and deployment codes are working. Only the frontend is showing Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2002] No such file or directory Exception #1 (PDOException): SQLSTATE[HY000] [2002] No such file or directory. Mysqld […]

upstream sent too big header while reading response header from upstream nginx

Posted on Leave a commentPosted in Magento 2

You might have experienced this when you have a Nginx server for Magento >=2.3.5 onwards. You have a very easy solution for this just add this to your nginx conf usually you can find this configuration under this path /etc/nginx/nginx.conf http { fastcgi_buffers 16 16k;. fastcgi_buffer_size 32k.; proxy_buffer_size 128.k; proxy_buffers 4 256k;. proxy_busy_buffers_size 256k;   Just […]

Mega Menu Disappears When using Varnish Cache Magento 2

Posted on Leave a commentPosted in Magento 2, Theme

Once you have varnish cache in your server setup and configured one of the problems you might face if you use varnish cache. Thats your mega menu will disappear from the site mobile as well as desktop version. Simple solution to that is to go to /vendor/magento/module-theme/view/frontend/layout/default.xml. In this file find “<block class=”Magento\Theme\Block\Html\Topmenu” name=”catalog.topnav” template=”Magento_Theme::html/topmenu.phtml” ttl=”3600″ […]

Tinymce error in Magento 2.3

Posted on Leave a commentPosted in Magento 2

So here are the things you need to know about Magento 2.3. Tinymce is not supported from Magento 2.3 onwards. You might have extensions that used to work in Magento 2.2 and Magento 2.1 but in Magento 2.3 now wysiwyg editor wont load stating tinymce error. So what can be done ?? Easy just find […]