Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticket with attachment throws fatal error #64

Open
SoulGit opened this issue May 21, 2024 · 0 comments
Open

Ticket with attachment throws fatal error #64

SoulGit opened this issue May 21, 2024 · 0 comments

Comments

@SoulGit
Copy link

SoulGit commented May 21, 2024

Upon trying to open a ticket that I have been working on successfully for about a week now, the below error is thrown. This doesn't occur on all tickets with attachments. Disabling inline preview plugin allows me to open the ticket and from here I can open click on all attachments successfully (so they aren't missing or corrupt). No system updates or reconfigurations. I just had this ticket open a few days ago without issue. Any pointers to troubleshoot further or resolve? 1.18 latest. Thanks!

Fatal error: Uncaught TypeError: Unsupported operand types: string * int in phar:///var/www/html/osTicket/include/plugins/attachment_preview.phar/class.AttachmentPreviewPlugin.php:208 Stack trace: #0 phar:///var/www/html/osTicket/include/plugins/attachment_preview.phar/class.AttachmentPreviewPlugin.php(217): AttachmentPreviewPlugin->{closure}() #1 phar:///var/www/html/osTicket/include/plugins/attachment_preview.phar/class.AttachmentPreviewPlugin.php(281): AttachmentPreviewPlugin->unFormatSize() #2 phar:///var/www/html/osTicket/include/plugins/attachment_preview.phar/class.AttachmentPreviewPlugin.php(147): AttachmentPreviewPlugin->inlineAttachments() #3 phar:///var/www/html/osTicket/include/plugins/attachment_preview.phar/class.AttachmentPreviewPlugin.php(131): AttachmentPreviewPlugin::shutdownHandler() #4 [internal function]: AttachmentPreviewPlugin->{closure}() #5 {main} thrown in phar:///var/www/html/osTicket/include/plugins/attachment_preview.phar/class.AttachmentPreviewPlugin.php on line 208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant