Magento 2 Error on pages Class Magento\Framework\Filter\VariableResolver\StrategyResolver does not exist.

I am facing an error while looking at any pages on the front end by getting the latest code from the branch.
I have just checked out with the branch that has upgraded Magento to the latest version 2.4.6-p1.

Every page in the front end throws an error like the given, Continue reading “Magento 2 Error on pages Class Magento\Framework\Filter\VariableResolver\StrategyResolver does not exist.”

How to create custom log file in Magento 2 module?

You can create your custom log file as a module in the var/log folder. You can generate a .log file based on your module name or functionality-related name.

You need to create an etc/di.xml file and specify the virtual type for the logger.

Create a Virtual type for the class Magento\Framework\Logger\Handler\Base to specify your custom file name. Continue reading “How to create custom log file in Magento 2 module?”

How to fix Page builder CMS Block content save issue for Magento 2.4.4+?

I have recently found a bug on the Page builder with CMS Block content in Magento 2.4.6 version.

When you update content on the CMS Block using page builder and try to save the CMS Block, Your updated data will be not saved without any error message Once you save the CMS Block, You will be displayed Success Message but your data is not saved.

This is the known GitHub issue in all the latest versions of Magento 2.4.4+. Continue reading “How to fix Page builder CMS Block content save issue for Magento 2.4.4+?”