Tagged: Fallback Mechanism

Add custom maintenance page in Magento 2 0


Creating a custom page is optional but recommended because the site is accessible during part of the upgrade. This will prevent users from any access to the site and also informs that the site is undergoing maintenance
(more…)

File Resolving in Magento 2 (Static, Template, Script, …) : Clues for Debugging 0


When Magento 2 wants to find a view file from the filesystem, it uses a fallback mechanism with a file resolving method. Unlike when a Class file is missing (where it gives an error) sometimes Magento 2 doesn’t provide an error message or so (even if error display is enforced).

I came up with a typo in the filename, which I didn’t notice, I got empty content area on frontend. No error messages. After a few debug sessions, found some clues on few interesting places to look on such a scenario.
(more…)