"Class string does not exists" error - only on production
So here's the situation. It is PHP 7.4, Magento 2.4.3-p1
On the production server, an error is showing up on the exceptions.log. It reads as follows:Class string does not exist at /var/www/public/vendor/magento/framework/Webapi/ErrorProcessor.php:208, ReflectionException(code: -1): Class string does not exist at /var/www/public/vendor/magento/framework/Reflection/MethodsMap.php:166)"} 
I happens daily on the production server, but it does not happen on staging, dev, and worse, I cannot replicate the error on local.
The method gets called when loading a PLP, PDP, homepage and checkout&shipping (maybe on even more places)andcache has been cleared (locally). On prod, I assume when someone visits the page for the first time.
I've put a breakpoint in the method. The method seems to load a bunch of interfaces and caches them. Some of them are:
Re: "Class string does not exists" error - only on production
It is a useful tool for the Java programmer. It allows us to perform operations on strings in an easy way. The only drawback is that it does not provide us with any methods for searching, sorting or doing substring operations. I have hired https://www.benbrookstables.com/forum/general-discussions/benefits-of-sharepoint to handle my all assignments. Class strings are a way to add some additional features to your strings without having to worry about inheritance.