Problems with table in modified esx_vehicleshop

Hey there…
I’m modifying some scripts on my server, and one of the things I’m doing is adding more vehicle stores so that there is an aircraft store, a boat store, and a truck store.
So far so good. I made several copies of the esx_vehicleshop and started modifying them, starting with the one for airplanes, called esx_aircraftshop, which works perfectly without any type of errors or bugs. But instead, the one for ships and trucks, which are exactly the same as the esx_aircraftshop, do not work.
They load correctly and do not throw any errors, but when you access the store, it does not show the menu, it stays frozen and throws the following error in the console:


I’ve checked the DB and it’s all how it’s suppose to…
I’m just clueless, I don’t know what to do. Please, help me.

Ask for whatever you need to help me with this issue.

When all this work I’m uploading it to GitHub as a package, with the creator of esx_vehicleshop’s permission.