i've told you everything i can from your post
maybe a bit more of your code would be useful, or you could search your scripts for a mksize function and see if it it needs including anywhere.
i take it from your ignorance you didn't write any of it yourself?