https://next-level-arcade.com


Results 1 to 6 of 6
  1. #1
    Member

    Join Date
    Mar 2018
    Location
    B.C. Canada
    Posts
    56
    Thanks
    5
    Thanked 4 Times in 4 Posts

    /arcade/functions/functions.php o

    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.

  2. #2
    Member

    Join Date
    Mar 2018
    Location
    B.C. Canada
    Posts
    56
    Thanks
    5
    Thanked 4 Times in 4 Posts
    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

  3. #3
    Member

    Join Date
    Mar 2018
    Location
    B.C. Canada
    Posts
    56
    Thanks
    5
    Thanked 4 Times in 4 Posts
    Does anyone have it running on Php 7.3?

  4. #4
    Game Downloader

    Join Date
    Oct 2023
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have this same error on php 7.1

  5. #5
    Game Downloader

    Join Date
    Oct 2023
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  6. #6
    Administrator stangger5's Avatar

    Join Date
    Nov 2005
    Posts
    1,633
    Thanks
    666
    Thanked 620 Times in 320 Posts
    This is what I did:

    Code:
    $differenz = ((int)$differenz) * 3600;

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Link Exchange - Affiliates/Friends