We are facing this error mentioned below
PHP message: PHP Fatal error: Uncaught Error: Class "OTGS\Toolset\Common\WpQueryFactory" not found in /home/site/wwwroot/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/factory.php:69
That's unexpected and we don't have any similar reports.
Could I ask you to check several things.
First, could you delete the current Types plugin (you won't lose any data), download the zip file of Types from https://toolset.com/account/downloads (under manual downloads) and re-install Types.
Does the problem still occur?
Do you know what actions you are taking that trigger the error?
Assuming it is still occurring, could you please try deactivating all other plugins and switching to a default theme like twentytwentyone. Does the problem still occur? If not, it sure be able to determine the source of any conflict with another plugin by a process of trial and error, re-activating plugins until it re-appears.