How to fix? loaf garage attempt to index a nil value (field ‘vehicle’)
been erroring since i bought it and loaf hasnt responded in weeks
Line 233, you’re indexing vehicleData.vehicle.model
I’m assuming it should just be vehicleData.model
You could always insert a print
print('vehicleData', json.encode(vehicleData,{indent=true})
just above line 233 to see which value you’re looking for.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.