I had this working fine for a very long time and nothing has changed since I last left it but now it isn’t working.
The issue is that instead of echoing the objects as programmed it now just print the whole page.
For example on the dev tool it now print;
<?php
echo "testing";
?>
instead of;
testing
into the dev tool.
The only thing I could think of that may caused this issue is that I have updated my Mac OS Catalina from the previous OS version. Could this be the problem?