In my case _opponent was NULL and there are no records in words_users withPK uid being NULL... so that was the reason.
Thank you