Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: A non well formed numeric value encountered #386

Merged
merged 1 commit into from
Jun 27, 2020

Conversation

michael-milette
Copy link
Contributor

@michael-milette michael-milette commented Jun 27, 2020

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

Eliminates the following PHP warnings 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

This happens because PHP floor and round are expecting a (float), not an (int).
@prasathmani prasathmani merged commit c741ae2 into prasathmani:master Jun 27, 2020
ner00 pushed a commit to ner00/tinyfilemanager that referenced this pull request May 7, 2023
Eliminates the following PHP warnings 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

This happens because PHP floor and round are expecting a (float), not an (int).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants