Cannot create any content on BookStack #4920

Closed
opened 2026-02-05 09:26:25 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @iveen-python on GitHub (Aug 20, 2024).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

After I emptied my Recycle Bin I started having the following issue:

When was trying to create a new book when I got an error, checked on laravel.log and found:

[2024-08-20 17:55:52] production.ERROR: A non-numeric value encountered {"userId":1,"exception":"[object] (ErrorException(code: 0): A non-numeric value encountered at /var/www/bookstack/app/Http/Controller.php:168)

https://github.com/user-attachments/assets/7b8e9a83-6e43-42be-a7c2-a08f414cde18

Exact BookStack Version

v24.05.3

Log Content

laravel.log

Hosting Environment

Ubuntu 24.04
PHP 8.3.6
Apache 2.4.58
MySQL 8.0.39

Originally created by @iveen-python on GitHub (Aug 20, 2024). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario After I emptied my Recycle Bin I started having the following issue: When was trying to create a new book when I got an error, checked on laravel.log and found: [2024-08-20 17:55:52] production.ERROR: A non-numeric value encountered {"userId":1,"exception":"[object] (ErrorException(code: 0): A non-numeric value encountered at /var/www/bookstack/app/Http/Controller.php:168) https://github.com/user-attachments/assets/7b8e9a83-6e43-42be-a7c2-a08f414cde18 ### Exact BookStack Version v24.05.3 ### Log Content [laravel.log](https://github.com/user-attachments/files/16680006/laravel.log) ### Hosting Environment Ubuntu 24.04 PHP 8.3.6 Apache 2.4.58 MySQL 8.0.39
OVERLORD added the 🐕 Support label 2026-02-05 09:26:25 +03:00
Author
Owner

@iveen-python commented on GitHub (Aug 20, 2024):

Found the issue, when changing the storage settings to be secure and increase the upload size, there was an alphabetic character in the upload size, that broke the whole thing.

@iveen-python commented on GitHub (Aug 20, 2024): Found the issue, when changing the storage settings to be secure and increase the upload size, there was an alphabetic character in the upload size, that broke the whole thing.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4920