A QUICK WAY to print log or data in any PHP file in Magento 2

Hello Magento Folks, Welcome back to my learning blog. Today in this article I'm gonna show you a quick way to print log or print data in any PHP file in Magento 2. Warning: Use this trick only for development local branches don't use this to any production or live stores. xdebug is the most…

Continue Reading A QUICK WAY to print log or data in any PHP file in Magento 2

Notice: unserialize(); Error at offset in Magento 2.2

In this article, I will show how we can solve unserialize error in Magento 2. As per Magento 2.2 release note, Magento removes serialize/unserialize from most the code to improve protection against remote code execution attacks. Magento 2.2 Release Note: In general, we’ve removed serialize/unserialize from most the code to improve protection against remote code…

Continue Reading Notice: unserialize(); Error at offset in Magento 2.2

How to print logs in Magento 2?

Logs in Magento 2 consist of system information records for the analysis in the future. One of the most common examples of such events is the error log. Developers know the pain of errors and the process to deliver a working solution. Debugging can be made easier for them by custom logs. It helps to…

Continue Reading How to print logs in Magento 2?