Hi,
I am trying to Print the ticket, which has Image inserted in the ticket. But it throw error 500 error. When I debug the error log following error showing,
[17-Aug-2023 13:37:10 UTC] PHP Fatal error: Uncaught Error: Class "Aws\S3\S3Client" not found in phar://C:/osticket/upload/include/plugins/storage-s3.phar/storage.php:45
Stack trace:
#0 C:\osticket\upload\include\class.file.php(777): S3StorageBackend->construct(Object(AttachmentFile))
#1 C:\osticket\upload\include\class.file.php(130): FileStorageBackend::getInstance(Object(AttachmentFile))
#2 C:\osticket\upload\include\class.file.php(134): AttachmentFile->open()
#3 C:\osticket\upload\include\class.file.php(152): AttachmentFile->sendData(false)
#4 C:\osticket\upload\include\class.pdf.php(45): AttachmentFile->getData()
#5 [internal function]: mPDFWithLocalImages->{closure}(Array)
#6 C:\osticket\upload\include\class.pdf.php(40): preg_replace_callback('/"cidđ[\w.-]{3...', Object(Closure), '<html>\n\n<head>\n...')
#7 C:\osticket\upload\include\class.pdf.php(101): mPDFWithLocalImages->WriteHtml('<html>\n\n<head>\n...', 0, true, true)
#8 C:\osticket\upload\include\class.pdf.php(78): Ticket2PDF->_print()
#9 C:\osticket\upload\include\class.ticket.php(3713): Ticket2PDF->construct(Object(Ticket), 'Letter', '1', '1')
#10 C:\osticket\upload\scp\tickets.php(534): Ticket->pdfExport('Letter', '1', '1')
#11 {main}
thrown in phar://C:/osticket/upload/include/plugins/storage-s3.phar/storage.php on line 45
How can I solve this? Any know the solution.
Thanks,
Sundar