[GH-ISSUE #651] Fatal error: under PHP 8.0.11 #461

Closed
opened 2026-03-02 15:58:57 +03:00 by kerem · 2 comments
Owner

Originally created by @ozgurkazancci on GitHub (Oct 24, 2021).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/651

Hi and many thanks for such a great tool! Truly useful.

I'd just like to report you that, whenever I'm trying to open/view a .txt file, I receive the following PHP error;

"Fatal error: Uncaught TypeError: log(): Argument #1 ($num) must be of type float, string given in tinyfilemanager.php:2442

Stack trace: #0 tinyfilemanager.php(2442):
log() #1 tinyfilemanager.php(1545): fm_get_filesize() #2 {main} thrown in tinyfilemanager.php on line 2442

Please note that I have all recommended/needed PHP extensions installed and they're already active.

TinyFileManager ver: 2.4.3

Any idea would be much appreciated.
Best,
Özgür.

Originally created by @ozgurkazancci on GitHub (Oct 24, 2021). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/651 Hi and many thanks for such a great tool! Truly useful. I'd just like to report you that, whenever I'm trying to open/view a .txt file, I receive the following PHP error; "Fatal error: Uncaught TypeError: log(): Argument #1 ($num) must be of type float, string given in tinyfilemanager.php:2442 Stack trace: #0 tinyfilemanager.php(2442): log() #1 tinyfilemanager.php(1545): fm_get_filesize() #2 {main} thrown in tinyfilemanager.php on line 2442 Please note that I have all recommended/needed PHP extensions installed and they're already active. TinyFileManager ver: 2.4.3 Any idea would be much appreciated. Best, Özgür.
kerem closed this issue 2026-03-02 15:58:57 +03:00
Author
Owner

@baur commented on GitHub (Oct 28, 2021):

try to download from master

<!-- gh-comment-id:953517778 --> @baur commented on GitHub (Oct 28, 2021): try to download from master
Author
Owner

@Langlais115 commented on GitHub (Sep 25, 2022):

I can't reproduce the issue with 2.4.8 and PHP8.1

<!-- gh-comment-id:1257275601 --> @Langlais115 commented on GitHub (Sep 25, 2022): I can't reproduce the issue with 2.4.8 and PHP8.1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#461
No description provided.