Set up Office 365 SMTP.
Use PHP8
Use Joomla 4
Sends SMTP email
Type errors
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
onSuccess https://wwwSyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
onSuccess https://www.********.co.uk/media/system/js/fields/joomla-field-send-test-mail.js?e91fbd76a9dcdcda2f24c2c7cb637038444a5d23:59
onreadystatechange https://www.**************.co.uk/media/system/js/core.js?17121a112ecec3d656efe5c5f493429c9acf2179:712
joomla-field-send-test-mail.js:62:21
onSuccess https://www.*********.co.uk/media/system/js/fields/joomla-field-send-test-mail.js?e91fbd76a9dcdcda2f24c2c7cb637038444a5d23:62
onreadystatechange https://www.************.co.uk/media/system/js/core.js?17121a112ecec3d656efe5c5f493429c9acf2179:712
Uncaught TypeError: response is undefined
onSuccess https://www.*************.co.uk/media/system/js/fields/joomla-field-send-test-mail.js?e91fbd76a9dcdcda2f24c2c7cb637038444a5d23:65
onreadystatechange https://www.*************.co.uk/media/system/js/core.js?17121a112ecec3d656efe5c5f493429c9acf2179:712
request https://www.************.co.uk/media/system/js/core.js?17121a112ecec3d656efe5c5f493429c9acf2179:703
sendTestMail https://www.**************.co.uk/media/system/js/fields/joomla-field-send-test-mail.js?e91fbd76a9dcdcda2f24c2c7cb637038444a5d23:47
connectedCallback https://www.************.co.uk/media/system/js/fields/joomla-field-send-test-mail.js?e91fbd76a9dcdcda2f24c2c7cb637038444a5d23:22
jooml
co.uk/media/system/js/fields/joomla-field-send-test-mail.js?e91fbd76a9dcdcda2f24c2c7cb637038444a5d23:59
onreadystatechange https://www.************.co.uk/media/system/js/core.js?17121a112ecec3d656efe5c5f493429c9acf2179:712
joomla-field-send-test-mail.js:62:21
onSuccess https://www.*************.co.uk/media/system/js/fields/joomla-field-send-test-mail.js?e91fbd76a9dcdcda2f24c2c7cb637038444a5d23:62
onreadystatechange https://www.*************.co.uk/media/system/js/core.js?17121a112ecec3d656efe5c5f493429c9acf2179:712
Uncaught TypeError: response is undefined
onSuccess https://www.**************.co.uk/media/system/js/fields/joomla-field-send-test-mail.js?e91fbd76a9dcdcda2f24c2c7cb637038444a5d23:65
onreadystatechange https://www.***********.co.uk/media/system/js/core.js?17121a112ecec3d656efe5c5f493429c9acf2179:712
request https://www.*************.co.uk/media/system/js/core.js?17121a112ecec3d656efe5c5f493429c9acf2179:703
sendTestMail https://www.************.co.uk/media/system/js/fields/joomla-field-send-test-mail.js?e91fbd76a9dcdcda2f24c2c7cb637038444a5d23:47
connectedCallback https://www.************.co.uk/media/system/js/fields/joomla-field-send-test-mail.js?e91fbd76a9dcdcda2f24c2c7cb637038444a5d23:22
jooml
systeminfo-2022-08-31T11_17_46+01_00.txt
This information was provided to me by my host. My apologies if this has already been reported or is a false report, I couldn't find it.
Host changed me to PHP7.1 and things are fine.
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Thanks @Fedik I still seem to have an issue on PHP 8 and 8.1. Is there something else I can do to troubleshoot this or help provide the information someone else might need?
systeminfo-2022-08-31T15_06_23+01_00.txt
Not sure if this helps. Also the error I see is SMTP Error: Could not connect to SMTP host.
Is there a way to get more information than this?
Also the error I see is SMTP Error: Could not connect to SMTP host.
So error now is changed?
Hm, not sure what it can be here, if it work on php 7, but not on php 8.
The error is the same as previous but the host gave me further information. I just want to know how to get that information myself.
Labels |
Added:
bug
|
Labels |
Added:
Information Required
|
Is this still an open issue for you @uglyeoin
I'll have to check and come back to you. It won't be today @brianteeman
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-03-07 02:55:14 |
Closed_By | ⇒ | Quy |
Closing for now. If you can reproduce it, this can be reopened. Thanks.
You meant, "send test mail" button in backend?
By looking your error info: the error probably come from PHP deprecation notice, that breaks JSON response.
You still can use php 8, just change error_reporting to minimum, or set it off, or exclude deprecation (in server config)
Looking your config, you have error_reporting = maximum.