Same error I get. I cannot understand the line 83 either, so I don’t know if deactivating (commenting) would help anything, or break more stuff…
`$f_id = $f_id ?: nf_insert_object( ‘form’, $form[‘id’] );
I just hope they find a solution fast!!
I found a solution, but I don’t know if it is the optimal, or what…
I found the code under Github from version 2.9.7 for the same part, and just substituted, reactivated, and it worked… for now I’ll cross fingers that they get out a new update with the REAL fix… anyways:
2.9.8 (BAD, error!):
$f_id = $f_id ?: nf_insert_object( 'form', $form['id'] );
2.9.7 (Fixed):
$f_id = isset ( $f_id ) ? $f_id : nf_insert_object( 'form', $form['id'] );
Thread Starter
Macroi
(@macroi)
It seems that version 2.9.9 has just fix this.
I could not not even uninstall, suddenly appeared a new update and everything is back to normal.
This was a problem with PHP versions and short-hand in ternary operators. This has been fixed in 2.9.9 and up.