We have now moved servers.
The domain name has not changed.
I have checked the pathing for the CreateDocx.php file etc in my config file.
Here is the sample code I am trying to run based on the samples on the website.
It just throws a 500 error.
$this->docx = new CreateDocx();