Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

On line 19 of Storage script you have something like struct[$key], which should be struct[$ key].

If you do not need to use this script in “live” code, you can ignore this error.

[$key] struct is not present in the code; the code only has (return data[$key] ?? defaultValue;, Storage at line 120: return data[$key] ?? defaultValue;,  Storage at line 123: data[$key] = value; )

(+1)
  1. It is,
    return data[$key] ?? defaultValue;
    
    should be
    return data[$ key] ?? defaultValue;
    
  2. This does not prevent the server from working, double-check that you’re using it correctly and the common troubleshooting steps.

 when I start gmlive.server it gives me that error code and I can't use the program