Best Blackhat Forum

Full Version: [HELP] Warning [2] A non-numeric value encountered - Line: 381 - File: inc/functions.php PHP 7.4.30 (Linux)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
This is the screenshot of error:
[Image: sPO7vRv.png]
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 12:38 AM)HighSkilledExploiter Wrote: [ -> ]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 :)

Thank you so much HighSkilledExploiter. Heart Heart Heart
It solve the problem. All errors are gone. Once again thank you so much. Heart Heart Heart
Reference URL's