syntaxError: Unexpected token < in JSON at position 1

jmoises

Active Member
Hi, i create a button element that show using javasctipt a Form, i am using the log form plugin if is active i have and error, i have to disable the log form plugin to be able to save/close the form.

Code:
<br />
<b>Notice</b>:  Array to string conversion in <b>/home/miapp/public_html/mysite.net/plugins/fabrik_form/logs/logs.php</b> on line <b>270</b><br />
<br />
<b>Notice</b>:  Array to string conversion in <b>/home/miapp/public_html/mysite.net/plugins/fabrik_form/logs/logs.php</b> on line <b>270</b><br />
<br />
<b>Notice</b>:  Array to string conversion in <b>/home/miapp/public_html/mysite.net/plugins/fabrik_form/logs/logs.php</b> on line <b>270</b><br />
{"msg":"","url":"http:\/\/mysite.net\/index.php?option=com_fabrik&view=form&Itemid=153&formid=1&rowid=9&listid=1","baseRedirect":true,"rowid":"1","suppressMsg":true}: SyntaxError: Unexpected token < in JSON at position 1


here is where i start
https://fabrikar.com/forums/index.php?threads/solved-close-popup-window-with-javascript.51060/
 
It doesn't solve the underlying issue but the notice (and so the JS error) should be gone if you set your Joomla error reporting to standard or none.
 
Do you have a repeat group? Is the issue only on new records?
As far as I can see the log plugin doesn't work correctly with repeat groups in new records.
 
The log plugin was contributed by a user a long time ago and hasn't been maintained. I have no plans to work on it, as it really just needs to be rewritten from the ground up. Next time I have a paying client who needs journalling / logging, I'll create a new plugin.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top