Cannot export to PDF - Illegal String #1560

Closed
opened 2026-02-05 01:13:49 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @jvarnadore on GitHub (Feb 28, 2020).

Describe the bug
My new Bookstack server cannot export to PDF, but it can export to HTML

The error message I get is: Illegal string offset 'hex'

Steps To Reproduce
Steps to reproduce the behavior:

  1. Go to page selected.
  2. Click on Export to PDF
  3. See error

Expected behavior
A PDF is downloaded of your page.

Screenshots
image

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): BookStack v0.28.0
  • PHP Version: 7.2
  • Hosting Method (Nginx/Apache/Docker): Apache
Originally created by @jvarnadore on GitHub (Feb 28, 2020). **Describe the bug** My new Bookstack server cannot export to PDF, but it can export to HTML The error message I get is: Illegal string offset 'hex' **Steps To Reproduce** Steps to reproduce the behavior: 1. Go to page selected. 2. Click on Export to PDF 3. See error **Expected behavior** A PDF is downloaded of your page. **Screenshots** ![image](https://user-images.githubusercontent.com/61564883/75491349-d2c5fd00-5983-11ea-9ede-cab634dabad8.png) **Your Configuration (please complete the following information):** - Exact BookStack Version (Found in settings): BookStack v0.28.0 - PHP Version: 7.2 - Hosting Method (Nginx/Apache/Docker): Apache
Author
Owner

@ssddanbrown commented on GitHub (Feb 28, 2020):

Hi @jvarnadore,
This was an issue that was addressed in BookStack v0.28.1. Please could you update to the latest BookStack version and see if the issue persists?

@ssddanbrown commented on GitHub (Feb 28, 2020): Hi @jvarnadore, This was an issue that was addressed in [BookStack v0.28.1](https://github.com/BookStackApp/BookStack/releases/tag/v0.28.1). Please could you update to the latest BookStack version and see if the issue persists?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1560