Closed Heliophob closed 9 months ago
I know how stupid that must look. but my source only calls like in the example:
require '/is/htdocs/xxxxxxx/vendor/autoload.php';
use Spipu\Html2Pdf\Html2Pdf;
$html2pdf = new Html2Pdf();
$html2pdf->writeHTML('<h1>HelloWorld</h1>This is my first test');
$html2pdf->output();
I deleted all composer files and created new ones. now it's working.
After installing via Composer and the first test I get the following error message:
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /is/htdocs/XXXXXXXXXXXXXXX/vendor/tecnickcom/tcpdf/tcpdf.php on line 16901