Wenn ich z.b. Dateien mit mp4 hochlade, und die Notiz erstellt habe, kommt beim Download eine Fehlermeldung. Ich hatte das bereits auch mit anderen Dateiformaten in der Vergangenheit gehabt.
Message: Call to undefined method wcf\data\notes\NoteEntry::canRead()
PHP version: 8.3.30
WoltLab Suite version: 6.1.16
Request URI: GET /file-download/2538/
======
Error Class: Error
Error Message: Call to undefined method wcf\data\notes\NoteEntry::canRead()
Error Code: 0
File: /lib/system/attachment/NoteEntryAttachmentObjectType.class.php (28)
Extra Information: -
Stack Trace: [{"file":"/lib\/data\/attachment\/Attachment.class.php","line":140,"function":"canDownload","class":"wcf\\system\\attachment\\NoteEntryAttachmentObjectType","type":"->","args":[25]},{"file":"/lib\/data\/attachment\/Attachment.class.php","line":96,"function":"getPermission","class":"wcf\\data\\attachment\\Attachment","type":"->","args":["canDownload"]},{"file":"/lib\/system\/file\/processor\/AttachmentFileProcessor.class.php","line":121,"function":"canDownload","class":"wcf\\data\\attachment\\Attachment","type":"->","args":[]},{"file":"/lib\/action\/FileDownloadAction.class.php","line":54,"function":"canDownload","class":"wcf\\system\\file\\processor\\AttachmentFileProcessor","type":"->","args":["wcf\\data\\file\\File"]},{"file":"/lib\/system\/request\/Request.class.php","line":48,"function":"handle","class":"wcf\\action\\FileDownloadAction","type":"->","args":["Laminas\\Diactoros\\ServerRequest"]},{"file":"/lib\/http\/middleware\/HandleValinorMappingErrors.class.php","line":35,"function":"handle","class":"wcf\\system\\request\\Request","type":"->","args":["Laminas\\Diactoros\\ServerRequest"]},{"file":"/lib\/system\/request\/RequestHandler.class.php","line":161,"function":"process","class":"wcf\\http\\Pipeline","type":"->","args":["Laminas\\Diactoros\\ServerRequest","wcf\\http\\RequestHandlerMiddleware"]},{"file":"/index.php","line":10,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["wcf"]}]
Display More