Prepared statement contains too many placeholders when updating book permissions #321

Closed
opened 2026-02-04 18:28:43 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @AbijeetP on GitHub (Apr 26, 2017).

For Bug Reports

  • BookStack Version: BookStack v0.15.2
  • PHP Version: 5.6.27
  • MySQL Version: MariaDB 10.0.15

While updating the Book level permissions for a book. We're getting this issue. Book has 15 Chapters and about 170 pages, and about 25 users assigned to a role with permission for this book.

Expected Behavior

Should not have errors while updating the book.

Actual Behavior

Getting Prepared statement contains too many placeholders when updating the error and the request is timing out.

Please find the attached log file.
error-log-join-permissions.txt

You'll also notice that the request is timing out.

Originally created by @AbijeetP on GitHub (Apr 26, 2017). ### For Bug Reports * BookStack Version: BookStack v0.15.2 * PHP Version: 5.6.27 * MySQL Version: MariaDB 10.0.15 While updating the Book level permissions for a book. We're getting this issue. Book has 15 Chapters and about 170 pages, and about 25 users assigned to a role with permission for this book. ##### Expected Behavior Should not have errors while updating the book. ##### Actual Behavior Getting Prepared statement contains too many placeholders when updating the error and the request is timing out. Please find the attached log file. [error-log-join-permissions.txt](https://github.com/BookStackApp/BookStack/files/957442/error-log-join-permissions.txt) You'll also notice that the request is timing out.
OVERLORD added the 🐛 Bug🚀 Priority labels 2026-02-04 18:28:43 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Apr 28, 2017):

Hi @AbijeetP,
Apologies about this issue.
I think I know what needs updating to fix this but I'm a little limited on time right now. I'll ensure a bugfix release goes out this weekend to cover this bug.

@ssddanbrown commented on GitHub (Apr 28, 2017): Hi @AbijeetP, Apologies about this issue. I think I know what needs updating to fix this but I'm a little limited on time right now. I'll ensure a bugfix release goes out this weekend to cover this bug.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#321