Unexpected token < in JSON at position 0, failed to connect mail server?? help!!
Posted: Thu Oct 26, 2017 6:36 am
I have been removing the "your address" and telephone field from checkout/registration so my store only requires the email and password
however i think i changed something in one of the files and now i get this error everytime i register a new user through checkout/register:
"unexpected token < in JSON at position 0
OK
Warning: mail(); failed to connect to mail server etc.etc. etc. "
i dont know why the mail() error is showing up, because i didnt even touch the system/librayr/mail/mail.php...
does anyone know how to fix this? the two files i changed are checkout/register.twig and checkout/register.php, where i removed the address and telephone fields
here is a screenshot of the error message: https://ibb.co/khvzBR
however i think i changed something in one of the files and now i get this error everytime i register a new user through checkout/register:
"unexpected token < in JSON at position 0
OK
Warning: mail(); failed to connect to mail server etc.etc. etc. "
i dont know why the mail() error is showing up, because i didnt even touch the system/librayr/mail/mail.php...
does anyone know how to fix this? the two files i changed are checkout/register.twig and checkout/register.php, where i removed the address and telephone fields
here is a screenshot of the error message: https://ibb.co/khvzBR