KRILLE123 / esx-kr-advanced-shops

29 stars 34 forks source link

Shipment Menu throwing Error #49

Closed PoisonedSage closed 2 years ago

PoisonedSage commented 2 years ago

Hello all! I recently downloaded this script and installed it as asked. I followed the instructions and added new items to sell in the shops. As it states in the instructions, I made sure that the item names match the database, and that the id's match the database as well. The menu pops up as well as the Boss Action menu. But when I go to place a shipment, the menu doesn't come up. It shows the shop, but there is nothing underneath it. I deleted the old 'shops' table in my database and uploaded the new one as well as disabled the old shop scripts. I noticed that I get an error in my F8 console saying: script:esx_menu_default:nui Uncaught TypeError: Cannot read property 'scrollIntoView' of undefined (@esx_menu_deafult/html/js/app.js:69/272/237)

Can anyone help me and tell me what could be the issue? I can attach pictures or whatever else you may need. I just want to get this working for my citizens. --Thanks in advance!

PoisonedSage commented 2 years ago

I redownlaoded the original resource.lua and config.lua then restarted my server. The menus are working again, so I'm going to add items in one by one to see if there's one causing the isue. Sorry for posting the issue when I found a fix not long after.