And the default value of this is a table?
Edit: The important part of your error is this
Code:
name = "PoisonCharges"
object = <table> {
}
db = 359.542840
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'db' (a number value)"
The first two values look ok. The third should be a table but looks like you passed the value of table['minimapPos'] from a previous try or sth.