Skip to content

I’m getting this error: Class “Zend_Validate_File_Upload” not found in Magento 2.4.6

I have a Magento 2.4.6 install and Im having a problem with this module: Bss grouped-product-with-custom-option Im getting this error

There is an error in /chroot/home/abc/abc.abc.io/html/vendor/bsscommerce/grouped-product-with-custom-option/Model/Validate/File/Upload.php at line: 21 Class "Zend_Validate_File_Upload" not found

I’ve had a few other issues with zend files with this install. I was able to fix WeltPixel ga4 that uses a zend file but I cant find the equivalent for this file. Is there a replacement for this in the magento framework files or some other third party?

*update: I changed the file to LaminasValidatorFileUpload based offa github thread but now it immediately threw another error

/vendor/bsscommerce/grouped-product-with-custom-option/Model/File/Transfer/Adapter/Http.php at line: 21
Class "Zend_File_Transfer_Adapter_Http" not found so now im trying to find that equivalent, so any suggestions would be great