0
When I press for a PDF to be created I get this line on the PHP_ERROR:
[23-May-2016 23:14:27 Europe/Paris] PHP Warning: Illegal string offset 'hex' in components\com_invoices\helpers\dompdf\include\style.cls.php on line 1418
It is not major since it works but still there is something going on!!
[23-May-2016 23:14:27 Europe/Paris] PHP Warning: Illegal string offset 'hex' in components\com_invoices\helpers\dompdf\include\style.cls.php on line 1418
It is not major since it works but still there is something going on!!
Responses (12)
-
Accepted Answer
0Germinal Camps wrote:
hI!
where do you get the error? inside the PDF?
No it is in my PHP error log!!-
Germinal Campsmore than a month agooh, I see. I'll take a look. In any case it's probably not important, since it's just a warning and doesn't affect the PDF itself..
-
-
Accepted Answer
0I am getting the same error, do you know if there is a resolve for it:
Warning: Illegal string offset 'hex' in components/com_invoices/helpers/dompdf/include/style.cls.php on line 1418
Fatal error: Call to undefined function imagecreatefrompng() in /components/com_invoices/helpers/dompdf/lib/class.pdf.php on line 4258 -
Accepted Answer
-
Accepted Answer
0Hi Germinal, thanks very much for your help.
To be more specific, I first was not able to get it installed by using the Joomla extension installer so I manually moved the files into here:
components/com_invoices/helpers/dompdf
as per the installation instructions. Everything else works except that. It did not work before adding the logo. I left the template as is, with line #3...
and in the template I uploaded the logo using the "company logo" update option. I removed it and the problem still exists.
Thanks again for your help. -
Accepted Answer
0Also, it only happens when you click the "download PDF" option in the admin and the front end. It goes to:
/index.php/1-invoice-1000?format=dompdf
Warning: Illegal string offset 'hex' in /components/com_invoices/helpers/dompdf/include/style.cls.php on line 1418
Fatal error: Call to undefined function imagecreatefrompng() in /components/com_invoices/helpers/dompdf/lib/class.pdf.php on line 4258
I have read that this has been fixed in "dompdf" v. 6.0 in a few places, here is one link: https://github.com/sliknl/dompdfbundle/issues/9
What version is the one sent in the install? -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »