When trying to create new Menu item there is a fatal error about Zend_Filter
Error: Class "Zend_Filter_Input" not found in /var/www/html/app/code/Ubertheme/UbMegaMenu/Controller/Adminhtml/Item/PostDataProcessor.php:47
We have purchased latest version of the module thinking it will solve it, but it is still old version. Please advice.
5 answers
This version is broken
FilterInput class is not imported
Error: Class "Ubertheme\UbMegaMenu\Controller\Adminhtml\Item\FilterInput" not found in /var/www/html/app/code/Ubertheme/UbMegaMenu/Controller/Adminhtml/Item/PostDataProcessor.php:47
Start your code here
There is missing import:
use Magento\Framework\Filter\FilterInput;
Hi Katie,
Our support staff will check and get back to you on this issue ASAP. Please stay tuned.
Hi There,
There is missing import:
You’re correct. Please navigate to the file: app/code/Ubertheme/UbMegaMenu/Controller/Adminhtml/Item/PostDataProcessor.php at line 7 and add the new code: use Magento\Framework\Filter\FilterInput;
Once done, the code should resemble this: https://www.dropbox.com/scl/fi/v5fw31olf3bzuamtlh457/2024-03-12_10-39-41.jpg?rlkey=q84ee8urhkojn0i2hfu8md5ni&dl=0
Best Regards,
Ziven.