when I deploy my site on GoDaddy server it's showing me this error but on localhost, it works awesome.
Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRINGbug output on line which contains this code :
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
It's versioning issue I switch to PHPMailer ver. 5.2.26 and it works perfectly fine. Thanks for an awesome script.
This is because you鈥檙e running a very old version of PHP. Also read the troubleshooting guide about problems with GoDaddy.
Thanks a lot Synchro. appreciate your support and help :)