Error when empty trash #4685

Closed
opened 2026-02-05 09:10:52 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @phmassa on GitHub (Apr 22, 2024).

Describe the Bug

when try to empty trash
with debug :

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'default_template_id' in 'where clause' (SQL: update chapters set default_template_id = ?, chapters.updated_at = 2024-04-22 08:51:59 where default_template_id = 1082 and chapters.deleted_at is null)

Steps to Reproduce

click to "empty trash"

Expected Behaviour

message : error unknow

Screenshots or Additional Context

No response

Browser Details

Firefox 125

Exact BookStack Version

24.02.2

Originally created by @phmassa on GitHub (Apr 22, 2024). ### Describe the Bug when try to empty trash with debug : SQLSTATE[42S22]: Column not found: 1054 Unknown column 'default_template_id' in 'where clause' (SQL: update `chapters` set `default_template_id` = ?, `chapters`.`updated_at` = 2024-04-22 08:51:59 where `default_template_id` = 1082 and `chapters`.`deleted_at` is null) ### Steps to Reproduce click to "empty trash" ### Expected Behaviour message : error unknow ### Screenshots or Additional Context _No response_ ### Browser Details Firefox 125 ### Exact BookStack Version 24.02.2
OVERLORD added the 🐛 Bug label 2026-02-05 09:10:53 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4685