I figured it out. createDocxAndDownload() does not work on the live server. I changed the way the doc is downloaded and all is well.
Thanks for reading.. :)
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it now