Qb-Customs menu doesn't show up for certain cars

Hello, so i use the old qb-customs script within my test city due to the server I play uses that script. it works just fine for every car within my test city. Now i currently got a file that the customs menu doesn’t even come up just freezes the car in place.
49b7f3ba0dcf4c8a19ae9c90d441a3ce

This is the F8 error i get when i try to use the script

show us that line in the cl_ui.lua file. (line 286)