WHMCS Fatal error: Out of memory while View Invoice PDF

Posted by prakash on Pro Webmasters See other posts from Pro Webmasters or by prakash
Published on 2014-01-27T08:28:39Z Indexed on 2014/05/30 22:09 UTC
Read the original article Hit count: 289

Filed under:
|

I can log into WHMCS & can access everything I should be able to access, but if i try to click View PDF Invoice, the following error will occur,

Fatal error: Out of memory (allocated 67633152) (tried to allocate 76 bytes) in /home/xxxx/public_html/whmcs/includes/classes/class.tcpdf.php on line 8419

I have already set the allocated Memory limit to 256MB, but the error still occurs. At that time of the error, the process memory is exceeding the allocation I set. I checked log file, and found the following errors:

#2 /home/xxxxx/public_html/client/includes/classes/class.tcpdf.php(8453): TCPDF->Image('/home/xxxxx/...', 20, 25, 75, 17.5816023739, 'PNG', '', '', false, 300, '', false, 8)
#3 /home/xxxxx/public_html/client/includes/classes/class.tcpdf.php(7881): TCPDF->ImagePngAlpha('/home/xxxxx/...', 20, 25, 337, 79, 75, 17.5816023739, 'PNG', '', '', false, 300, '', NULL)

While I was investigating the issue above I also noticed the error condition pictured below:

WHCMS Screenshot

© Pro Webmasters or respective owner

Related posts about web-hosting

Related posts about whmcs