Thank you for your assistance. Although your Ajax troubleshooting method is accurate and recommended, this error was site wide and affected every HTTP GET and POST requests. It seems that someone had changed the code inside the root index.php file that was attempting CURL functions. I've reset the code to the basic index.php and the error has cleared.
It is also worth mentioning that the main problem is that there was a CRON job added to append the malicious code to the infected pages.