JSON error when sending mail from pop-up form

Status
Not open for further replies.

EricWebsite

Member
On Joomla 4.3.1, PHP 8.1.18, Cassiopeia template, Upgraded from J3,F3 > J4,F4, Fabrik 4 gamma3

To reproduce the error:
- create a list 'testlist' with elements name (field) and email (field, verified with plugin isEmail)
- set the list 'Ajaxify links' to Yes
- add a email plugin to the form, set 'Email to': {testlist___email} and add some text to send in 'Message Text'
- add a menu-item to show the list
All with the default settings.
testlist.jpg


- in the list, click an item, the modal for opens. Click Save ant the mail is sent, but also an error is shown in the form and it does not close.
modalformerror.jpg


When the form is not modal (no Ajaxified link) this error does not occur.
 
JS errors and the underlying error messages/notices etc can be found in your browser console (Network tab).

If you have System debug enabled or J! error reporting set any message (System debug output, errors, deprecated, warnings...) will break the JSON response expected by ajax updates etc.
 
Yes you are right, turning Debug System off removed this error.
I did not know that, I am sorry for the false alarm!
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top