Databse error in affiliate frontpage with shortcode

hi,
I'm using affiliate shortcode in frontpage but I see this 2 database errors. What can I do to fix this? tq