Guys I think i might found a solution for this error. If u got the error like below...just go to the line stated and change [$key] to [$g_key]. It might solve your problem.
Fatal error: Uncaught Dompdf\Exception: The row #4 could not be
found, please file an issue in the tracker with the HTML code in
D:\xampp\htdocs\sistem\programme\mysql\dompdf\src\Cellmap.php:415
$rows = $this->_frames[$key]["rows"];
$h = 0;
foreach ($rows as $i) {
if (!isset($this->_rows[$i])) {
to
$rows = $this->_frames[$g_key]["rows"];
$h = 0;
foreach ($rows as $i) {
if (!isset($this->_rows[$i])) {
In my case, this happened because the border is hidden when there's is no data. The row is empty so i put in my code when it is empty, it displays nothing (none).
Drop your comments below if it works and let others know....
No comments:
Post a Comment