Division by zero Error with 1.0.6 version

Phoca PDF - creating PDF documents in Joomla! CMS
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Division by zero Error with 1.0.6 version

Post by Jan »

Hi, try to check your html of the content. Seems like TCPDF library has some problem with converting a table there :idea:

Code: Select all

$table_min_column_width = ($table_columns_width / $dom[$key]['cols']);
							// array of custom column widths
							$table_colwidths = array_fill(0, $dom[$key]['cols'], $table_min_column_width);

No idea what can be wrong there, I will try to looks tcpdf site, maybe I will find some infos about this.

Jan
If you find Phoca extensions useful, please support the project