Closed Bolthier closed 3 years ago
Hi @Bolthier, Sounds very similar to #1617, Can you try running the migration command again and see if that gets things working again?
I will. Probably on the next weekend again.
Thank you for the response. I'll close this issue after updating.
Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.
This is probably more on the support part, as I'm not exactly sure what is causing the issue on my instance. The only thing I could do was restoring the last version.
Describe the bug While editing a page an unknown error occurs. Everything else on the website works as intended.
Steps To Reproduce Steps to reproduce the behavior:
Expected behavior Editor to appear.
Error SQLSTATE[42S22]: Column not found: 1054 Unknown column 'template' in 'where clause' (SQL: select count() as aggregate from
pages
where (draft
= 0 or (draft
= 1 andcreated_by
= 3)) and (exists (select fromjoint_permissions
wherepages
.id
=joint_permissions
.entity_id
andjoint_permissions
.entity_type
= BookStack\Page androle_id
in (5, 6, 7, 8, 9, 10, 16, 17, 18, 19, 20, 21, 22, 23, 24, 27, 28, 31) andaction
= view and (has_permission
= 1 or (has_permission_own
= 1 andcreated_by
= 3)))) anddraft
= 0 andtemplate
= 1)Screenshots
Your Configuration (please complete the following information):