View Full Version : /arcade/functions/functions.php o
kylek
08-28-2022, 09:30 PM
Hi Stangger5,
Starting up another arcade and everythings installed and running except I am getting thiis error on top of the arcade:
PHP Warning: A non-numeric value encountered in ..../arcade/functions/functions.php on line 654
Using vb4.2.5, PHP 7.1 and tried PHP 7.3.
I searched and saw the edit for admincp/arcade.php but havent found anything yet for the above error.
kylek
08-29-2022, 10:20 PM
Redid everything and no error shows until I played one game and score was submitted.
Notice: Undefined index: autocom in /home/blackarcade/domains/bvlarcade.com/public_html/index.php on line 4
Notice: Undefined index: showuser in /home/blackarcade/domains/bvlarcade.com/public_html/index.php on line 5
PHP Warning: A non-numeric value encountered in ..../arcade/functions/functions.php on line 654
The above shows when you finish a game and score.
Then when you go back to the arcade main page this error shows at the top:
PHP Warning: A non-numeric value encountered in ..../arcade/functions/functions.php on line 654
kylek
08-31-2022, 02:29 AM
Does anyone have it running on Php 7.3?
TopSniper7
10-06-2023, 01:06 AM
I have this same error on php 7.1
TopSniper7
10-09-2023, 12:59 PM
I made a change from $differenz = $differenz * 3600;
to
((int)$differenz = (int)$differenz * 3600);
it made the error go away I havent had an issue but try at your own risk, hope it helps someone.
stangger5
10-10-2023, 07:57 PM
This is what I did:
$differenz = ((int)$differenz) * 3600;
Powered by vBulletin® Version 4 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.