SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export › Reply To: Fatal error: Uncaught TypeError: Return value of Inc\Claz\Export
Are you sure you are using PHP 7.2 or greater? The support for void type was added in 7.1 but for master-2019.2 you need to be on PHP 7.2 or greater.
Verify the version by using the phpinfo.php source in the SI directory. Change the setting of “$secure” to false and then run this by adding phpinfo.php to the end of your SI address in your browser.
For example, if you access SI by typing “simpleinvoices” in the browser address bar, type “simpleinvoices/phpinfo.php” instead. This will list all php info and you can verify the php version that it shows.
When done, be sure to set the “$secure” setting back to “true” when done so no one else can run it.