Hi! We are using the php version 8.1 and before the update we were using the tcpdf verison 6.6.5 and it was working like a charm. Now after the update to 6.7.2 its giving exception. I am pasting the stack trace
[2024-03-20 11:54:01] local.ERROR: Undefined array key -1 {"exception":"[object] (ErrorException(code: 0): Undefined array key -1 at /var/www/html/vendor/tecnickcom/tcpdf/tcpdf.php:18829)
[stacktrace]
Hi! We are using the php version 8.1 and before the update we were using the tcpdf verison 6.6.5 and it was working like a charm. Now after the update to 6.7.2 its giving exception. I am pasting the stack trace [2024-03-20 11:54:01] local.ERROR: Undefined array key -1 {"exception":"[object] (ErrorException(code: 0): Undefined array key -1 at /var/www/html/vendor/tecnickcom/tcpdf/tcpdf.php:18829) [stacktrace]
0 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
https://github.com/tecnickcom/TCPDF/issues/1 /var/www/html/vendor/tecnickcom/tcpdf/tcpdf.php(18829): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap{closure}() https://github.com/tecnickcom/TCPDF/issues/2 /var/www/html/vendor/tecnickcom/tcpdf/tcpdf.php(5934): TCPDF->writeHTML() https://github.com/tecnickcom/TCPDF/issues/3 /var/www/html/app/Exports/PdfGeneration.php(121): TCPDF->MultiCell() https://github.com/tecnickcom/TCPDF/pull/4 /var/www/html/app/Exports/MonthlyBalancePdfExport.php(64): App\Exports\PdfGeneration->addBlankCell() I am using MultiCell to create an empty row. But after the upgrade its not working. Can you help with this? thank you :)