Skip to content

Add pdf to page fails with 500 on 33.0.6 (Preview error) #8839

Description

@Aveyron-RetD

Describe the bug
A clear and concise description of what the bug is.

I get a display error when I insert a pdf to a page

To Reproduce
Steps to reproduce the behavior:

  1. load a PDF
  2. error occur

Expected behavior
This did not use to happen. With text files this works properly.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Server details:

  • Nextcloud version: 33.0.6
  • PHP Version: [e.g. 8.2]
  • Database: [e.g. MariaDB 10.6]

Client details:

  • OS: Windows 11
  • Browser: Firefox
  • Browser version: [e.g. 22]
  • Device: [e.g. iPhone6, desktop]

With a pdf

Image

With a text file

Image
Logs

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

Browser log

Insert your browser log here, this could for example include:

With a text file this is the request







a) The javascript console log
b) The network log
c) ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions