 <p>I too faced same error today in my website where i use TCPDF Library to generate PDFs. It was working fine but suddenly i started to get the following error today </p> <pre><code>Severity: 8192 Message: Imagick::clone method is deprecated ..... </code></pre> <p>Might be the hosting provider updated PHP or Imagick. PHP - 5.4 and Imagick - 3.x</p> <p>So to get rid of this in my code, i set error_reporting as </p> <pre><code>error_reporting(E_ALL &amp; ~E_NOTICE &amp; ~E_STRICT &amp; ~E_DEPRECATED); </code></pre> <p>And this will show the errors but not the deprecated notices. Meanwhile I can change my code to support the new version of Imagick.</p>