Page 1 of 1

Error in StiDataAdapter.php

Posted: Thu Dec 12, 2024 5:58 pm
by Asawyer13
I have a report.php that is giving me an error.

I have stripped the file down to this code:

Code: Select all

<?php

error_reporting(E_ALL);
ini_set('display_errors', 1);

require_once 'vendor/autoload.php';


?>
When it's executed I get this in the browser:

Code: Select all

Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/sutprod/public_html/vendor/stimulsoft/reports-php/src/adapters/StiDataAdapter.php on line 50
I am using PHP V8.1 but have also tried with V7.4 and get the same error.

Using more current released version of Stimulsoft php

Re: Error in StiDataAdapter.php

Posted: Fri Dec 13, 2024 9:12 am
by Lech Kulikowski
Hello,

We couldn't reproduce the issue.
Please try to check the last release build.

Thank you.
#16302