Project-Sloth / ps-adminmenu

An admin menu for QBCore.
https://discord.com/invite/projectsloth
Other
95 stars 72 forks source link

uncaught error, menu froze. #125

Open abhisheksingh1010 opened 2 months ago

abhisheksingh1010 commented 2 months ago

Screenshot 2024-08-26 100502 Screenshot 2024-08-26 100515

i am getting this error when ever i click on any player names in such in this when i clicked on my name i started getting this error in console and the menu froze on screen i had to restart menu but when i restarted all options in menu disappeared.

abhisheksingh1010 commented 2 months ago

i reinstalled the script but still getting this error whenever i open menu Screenshot 2024-08-26 102655

itakebitcoin commented 2 months ago

Did you find a fix for this issue?

cfoour commented 1 month ago

This is caused when the script can't get the data from a player like discord license or steam

Possible fix : add an 'or' to the player table like

discord = data.discord or 'Not Found'

TacticalDey commented 1 month ago

I am getting the same issue now. This menu keeps freezing and locking up and the script has to be restarted to be able try and use it again.

fenooooo commented 1 month ago

Anyone have an idea to resolve this ?