I did not post before, I had tried turning on the logs before I posted (I had seen that post earlier) but of due diligence I went through the steps again, I am not getting any Php errors. Also checked mod_sec logs and Apache dom logs and error_log. ALso checked the cPanel error log and found:
Sat Feb 26 17:36:22.693640 2022] [authz_core:error] [pid 12558] [client 198.204.229.42:52412] AH01630: client denied by server configuration: /home/XXXXXXXX/public_html/vendor/phpunit
and
[Tue Mar 01 03:29:38.467413 2022] [authz_core:error] [pid 25699:tid 47314487375616] [client 198.204.229.42:35156] AH01630: client denied by server configuration: /home/XXXXX/public_html/vendor/composer/LICENSE
Which led me to https://whmcs.community/topic/270461-apache-client-denied-by-server-configuration-hitting-for-each-url-request/ and I checked the things in that post. I also temporarily turned off mod_sec renamed .htaccess file, tunred on display php error in php.ini and .htaccess (before I renamed it) and csf firewall to be sure something in there was not causing the issue, no change
Regards,
Randy