Search (advanced search) | ||||
Use this Search form before posting, asking or make a new thread.
|
07-07-2022, 03:58 PM
Post: #1
|
|||
|
|||
[HELP] Warning [2] A non-numeric value encountered - Line: 381 - File: inc/functions.php PHP 7.4.30 (Linux)
Anyone getting this error?
Warning [2] A non-numeric value encountered - Line: 380 - File: inc/functions.php PHP 7.4.30 (Linux) I went to line 380 and the exact line i found is: PHP Code: $date = (gmdate($format, $stamp + ($offset * 3600)); That error appear on normal registered user. For now i disable the line 380 by adding // PHP Code: //$date = (gmdate($format, $stamp + ($offset * 3600)); as a result, the date created does not appear. Appreciate if someone can help me as i am not good in php. Thanks. Too Busy in 3 things right now.
1) Downloading 2)Backing Up Files 3) Uploading |
|||
07-07-2022, 04:00 PM
Post: #2
|
|||
|
|||
RE: [HELP] Warning [2] A non-numeric value encountered - Line: 381 - File: inc/functio...
This is the screenshot of error:
Too Busy in 3 things right now.
1) Downloading 2)Backing Up Files 3) Uploading |
|||
07-08-2022, 12:38 AM
Post: #3
|
|||
|
|||
RE: [HELP] Warning [2] A non-numeric value encountered - Line: 381 - File: inc/functio...
This will solve your problem.
PHP Code: $date = gmdate($format, $stamp + (intval($offset) * 3600)); No need to thank me. My please to help as always :) |
|||
07-08-2022, 01:17 AM
Post: #4
|
|||
|
|||
RE: [HELP] Warning [2] A non-numeric value encountered - Line: 381 - File: inc/functio...
(07-08-2022 12:38 AM)HighSkilledExploiter Wrote: This will solve your problem. Thank you so much HighSkilledExploiter. It solve the problem. All errors are gone. Once again thank you so much. Too Busy in 3 things right now.
1) Downloading 2)Backing Up Files 3) Uploading |
|||