-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3ae08a3
commit 883cbb4
Showing
3 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
} | ||
], | ||
"require": { | ||
"php": ">=5.3.0" | ||
"php": ">=5.5.0" | ||
}, | ||
"autoload": { | ||
"classmap": [ | ||
|
883cbb4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! i was previously using the TCPDF version 6.6.5 and it was working fine but not since the update to 6.7.2 i am getting the error of Undefined Array Key -1 on MultiCell.
$document->MultiCell('', '', '', 0, 'L', 0, 1, 35.5, '', true, 0, true, true,0, 'T', false);
But with 6.6.5 it works like a charm! i am using this Multicell to add a blank row in my pdf!
883cbb4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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()
#1 /var/www/html/vendor/tecnickcom/tcpdf/tcpdf.php(18829): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#2 /var/www/html/vendor/tecnickcom/tcpdf/tcpdf.php(5934): TCPDF->writeHTML()
#3 /var/www/html/app/Exports/PdfGeneration.php(121): TCPDF->MultiCell()
#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 :)
883cbb4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please open an issue @Muzammil1234