Skip to content

magento man

Zend Equivalent class for Magento 2.4.6

We have updated our website to Magento 2.4.6. We are facing Zend issue with the following 1.Zend_Pdf pdf = new Zend_Pdf(); $page = new Zend_Pdf_Page(Zend_Pdf_Page::SIZE_A4); //var_dump($page); 2.Zend_Log_Exception Can anyone please tell the equivalent class for the above. Thanks, Jayashree

Submitting a form on a CMS page that is loading a template file is returning a 404 error on the post request

I think I am running into a routing issue where my post request is not reaching my controller. Test/Example/view/frontend/templates/swatches.phtml <form action=”<? echo $block->getUrl(‘example/index/index’); ?>” id=”pgswatchForm” method=”post”> Test/Example/Controller/Index/Index.php <?php namespace TestExampleControllerIndex; use MagentoFrameworkAppActionAction; use MagentoFrameworkAppActionContext; use MagentoFrameworkViewResultPageFactory; use MagentoFrameworkMailTemplateTransportBuilder; use MagentoFrameworkAppActionHttpPostActionInterface;… Read More »Submitting a form on a CMS page that is loading a template file is returning a 404 error on the post request