Verify your php version. As DH mentioned, that error is kostly limited to php 7.3 and above.
But you can try this.....
First, back up the ezdb_base.class.php file in case the following doesn't work and you need to revert.
Open the original ezdb_base.class.php file and edit the three lines mentioned.
For all three lines, remove
, true
Save the file and try it again.
Let us know if that works.