If you want help, you'll have to post an SSCCE that demonstrates the problem. The code you posted doesn't seem to have anything to do with the error you posted.
Type: Posts; User: KevinWorkman
If you want help, you'll have to post an SSCCE that demonstrates the problem. The code you posted doesn't seem to have anything to do with the error you posted.