Please post the full stack trace as pre-formatted text, its easier to read/parse than trying to decipher a screenshot(especially when a screenshot cuts out part of the stack trace).
Please also post a copy of the code that is calling system.db.runPrepQuery
, again as preformatted text.
Please see Wiki - how to post code on this forum.
You can edit your post by clicking the pencil icon in the bottom right.