Getting error Class DeviceDetectorDeviceDetectorFactory does not exist.

Hello,

I’m experiencing this issue that I can’t seem to solve. I’ tried different permissions to /generated. I’ve removed it and complied but still get the error.

I get this every time I try and process and credit card at checkout and when I run PHP bin/magento setup:compile

[ec2-user]$ php bin/magento setup:di:compile Compilation was started. Area configuration aggregation... 5/7 [====================>-------] 71% 34 secs 293.0 MiB In ClassReader.php line 35: Class DeviceDetectorDeviceDetectorFactory does not exist In ClassReader.php line 29: Class DeviceDetectorDeviceDetectorFactory does not exist setup:di:compile 

Can anyone help?

Edit: Magento 2 versions 2.3.3

submitted by /u/ravioliisgood
[link] [comments]