An Error Occured - when saving pages - Error Illuminate\Database\QueryException #4354

Closed
opened 2026-02-05 08:38:50 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @jgriffithsuk on GitHub (Dec 8, 2023).

Describe the Bug

When we save pages it says error occured on every page, but the page does save

Steps to Reproduce

When we save pages it says error occured on every page, but the page does save

Expected Behaviour

When we save the pages no error to appar

Screenshots or Additional Context

Error
Illuminate\Database\QueryException
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bookstack.watches' doesn't exist (SQL: select level, watchable_id, watchable_type, user_id from watches where ((watchable_type = page and watchable_id = 453) or (watchable_type = book and watchable_id = 12) or (watchable_type = chapter and watchable_id = 49)))

Browser Details

Firefox, Chrome

Exact BookStack Version

23.10.4

Originally created by @jgriffithsuk on GitHub (Dec 8, 2023). ### Describe the Bug When we save pages it says error occured on every page, but the page does save ### Steps to Reproduce When we save pages it says error occured on every page, but the page does save ### Expected Behaviour When we save the pages no error to appar ### Screenshots or Additional Context Error Illuminate\Database\QueryException SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bookstack.watches' doesn't exist (SQL: select `level`, `watchable_id`, `watchable_type`, `user_id` from `watches` where ((`watchable_type` = page and `watchable_id` = 453) or (`watchable_type` = book and `watchable_id` = 12) or (`watchable_type` = chapter and `watchable_id` = 49))) ### Browser Details Firefox, Chrome ### Exact BookStack Version 23.10.4
OVERLORD added the 🐛 Bug label 2026-02-05 08:38:50 +03:00
Author
Owner

@jgriffithsuk commented on GitHub (Dec 8, 2023):

Running php artisan migrate fixed the issue

@jgriffithsuk commented on GitHub (Dec 8, 2023): Running php artisan migrate fixed the issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4354