[PR #386] [MERGED] Notice: A non well formed numeric value encountered #968

Closed
opened 2026-03-02 16:02:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/prasathmani/tinyfilemanager/pull/386
Author: @michael-milette
Created: 6/27/2020
Status: Merged
Merged: 6/27/2020
Merged by: @prasathmani

Base: masterHead: master


📝 Commits (1)

  • 94136f6 Notice: A non well formed numeric value encountered

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 tinyfilemanager.php (+1 -0)

📄 Description

Eliminates the following PHP notices when Error Reporting is turned on:

Notice: A non well formed numeric value encountered in tinyfilemanager.php on line 2443
Notice: A non well formed numeric value encountered in tinyfilemanager.php on line 2444

These notices appear near the top of the screen when viewing the contents of a file.

This happens because PHP floor and round are expecting a (float), not an (int).

Tested under PHP 7.1, 7.2 and 7.3 on Windows.

Let me know if you have any questions.

Best regards,

Michael


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/prasathmani/tinyfilemanager/pull/386 **Author:** [@michael-milette](https://github.com/michael-milette) **Created:** 6/27/2020 **Status:** ✅ Merged **Merged:** 6/27/2020 **Merged by:** [@prasathmani](https://github.com/prasathmani) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`94136f6`](https://github.com/prasathmani/tinyfilemanager/commit/94136f60820ddaa1b068aabe4fb61fe94969dabf) Notice: A non well formed numeric value encountered ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tinyfilemanager.php` (+1 -0) </details> ### 📄 Description Eliminates the following PHP notices when Error Reporting is turned on: Notice: A non well formed numeric value encountered in tinyfilemanager.php on line 2443 Notice: A non well formed numeric value encountered in tinyfilemanager.php on line 2444 These notices appear near the top of the screen when viewing the contents of a file. This happens because PHP floor and round are expecting a (float), not an (int). Tested under PHP 7.1, 7.2 and 7.3 on Windows. Let me know if you have any questions. Best regards, Michael --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 16:02:32 +03:00
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#968
No description provided.