SCRIPT ERROR: @qb-core/server/player.lua:97: attempt to index a nil value (field 'metadata') need help asap plz

do anyone know how to fix this error ?

05:36:59 PM [ script:qb-core] SCRIPT ERROR: @qb-core/server/player.lua:97: attempt to index a nil value (field ‘metadata’)
05:36:59 PM [ script:qb-core] > CheckPlayerData (@qb-core/server/player.lua:97)
05:36:59 PM [ script:qb-core] > ref (@qb-core/server/player.lua:27)
05:36:59 PM [ script:qb-core] > handler (@qb-multicharacter/server/main.lua:117)
05:36:59 PM [script:qb-multichara] SCRIPT ERROR: error object is not a string



Have you made any changes to QB-Core or QB-Multicharacter recently?

no i think it started to happen when my friend changed the server lic key cause our scripts we paid for wasnt working so he changed the new key to the old we had cause the scripts wasnt working it said something like the keys have to be the same so thats why he did that. if anything we can just change the key back i was trying to see if it was a way to fix that error or if anyone knew

When you purchase a paid script for your FiveM server, it is tied to your unique license key. If you change the key to one belonging to someone else’s account someone who hasn’t purchased the script, it won’t work because most paid scripts are protected by the original author’s licensing system.

It’s best to keep your script linked to the key it was originally registered with. Never transfer your license key to someone else. Not only could you lose access to your purchased scripts, but there’s also a risk of betrayal within the FiveM community, where some individuals might take advantage of your trust.

While transferring a key might be justified in rare situations, it’s generally not recommended. Always prioritize security and keep control of your assets to avoid potential problems.

1 Like

i know but thanks i did fix it

hi how did you fix it ?