yum install php-pecl-zip
apachectl restart
At the line number 104 of invoicepdf.tpl
# QR Payment Code
$qrFilename = 'QR_INVOICE.png';
if (file_exists(ROOTDIR . '/assets/img/QR_INVOICE.png')) {
$qrFilename = 'QR_INVOICE.png';
} elseif (file_exists(ROOTDIR . '/assets/img/logo.jpg')) {
$qrFilename = 'logo.jpg';
}
$pdf->Image(ROOTDIR . '/assets/img/' . $qrFilename, 120, 110, 75);
$pdf->Ln(10);
At first, be sure that your cPanel has terminal access. Step-1 mkdir -p ~/bin cd ~ php -r "copy('https://getcomposer.org/installer...