P: Error message (Script line 2798) with InDesign & Illustrator after update

I just installed updates for Photoshop and Photoshop beta and received this error on opening Indesign. Any ideas? [I am on a Mac Mini M4] - there is no error opening Photoshop or Photoshop Beta.
<Title renamed by MOD>
