PHP Classes

Call to undefined method TCPDF::convertHTMLColorToDec()

Recommend this page to a friend!

      PHP Gantt charts in PDF  >  All threads  >  Call to undefined method...  >  (Un) Subscribe thread alerts  
Subject:Call to undefined method...
Summary:TCPDF version
Messages:3
Author:Piotr Kuczy?ski
Date:2018-03-21 11:30:56
 

  1. Call to undefined method...   Reply   Report abuse  
Picture of Piotr Kuczy?ski Piotr Kuczy?ski - 2018-03-21 11:30:56
What version of TCPDF I should use?
Tried 6.2.13, 6.2.12 - always get error:

Fatal error: Uncaught Error: Call to undefined method TCPDF::convertHTMLColorToDec()

  2. Re: Call to undefined method...   Reply   Report abuse  
Picture of Piotr Kuczy?ski Piotr Kuczy?ski - 2018-03-21 12:39:50 - In reply to message 1 from Piotr Kuczy?ski
ok, works with v. 5

  3. Re: Call to undefined method...   Reply   Report abuse  
Picture of Alexander Selifonov Alexander Selifonov - 2018-03-21 16:55:12 - In reply to message 2 from Piotr Kuczy?ski
I checked out TCPDF sources.
Authors moved convertHTMLColorToDec() from TCPDF to separated class TCPDF_COLORS (in verson 6.x).