I have a large fabrik form (multi page) which has been running successfully on a php 5.5 install. Fabrik has been updated to latest v3.8. Everything works fine.
On updating PHP to 7.1 as soon as the the first field is verified, the form locks with a spinning ajax waiting icon. Checking the server logs the POST to com_fabrik is returning a 500 error.
Field verification is simply checking for a NOT EMPTY
Joomla 3.8.3
Fabrik 3.8
PHP 7.1.7
I have also tried with PHP 5.6 and 7.0 both show similar results to 7.1, everything works when php is reverted back to 5.5
Further info on the 500 error:
From the developers console, the 500 error is being triggered by mootools-core.js
with:
VM2070:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at Object._completeValidaton (form.js:3)
at Object.e.extend.$owner (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:38)
at Object.<anonymous> (form.js:3)
at Object.<anonymous> (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:42)
at Array.forEach (<anonymous>)
at Function.forEach (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:5)
at Array.each (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:9)
at Object.fireEvent (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:42)
at Object.e.extend.$owner (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:38)
On updating PHP to 7.1 as soon as the the first field is verified, the form locks with a spinning ajax waiting icon. Checking the server logs the POST to com_fabrik is returning a 500 error.
Field verification is simply checking for a NOT EMPTY
Joomla 3.8.3
Fabrik 3.8
PHP 7.1.7
I have also tried with PHP 5.6 and 7.0 both show similar results to 7.1, everything works when php is reverted back to 5.5
Further info on the 500 error:
From the developers console, the 500 error is being triggered by mootools-core.js
with:
VM2070:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at Object._completeValidaton (form.js:3)
at Object.e.extend.$owner (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:38)
at Object.<anonymous> (form.js:3)
at Object.<anonymous> (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:42)
at Array.forEach (<anonymous>)
at Function.forEach (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:5)
at Array.each (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:9)
at Object.fireEvent (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:42)
at Object.e.extend.$owner (mootools-core.js?5a27997441d3491aaf3c93cda4baeb70:38)
Last edited: