As mlowe4 has said, the most recent helperphp.php file works fine for me on PHP8.2 so best thing is to reinstall DataAssist so you have the most recent files and then run the behavior again. Alternatively I've attached my latest version file which definitely works on PHP8.2 - you may just be able to replace your file with this one but I'm not sure if there are any other dependent files needed.