"Implode" / "Database Deadlock" errors on Civi Webform
The error you're looking at is not the real issue.

The real issue (as showing in your pastebin log) is the deadlocks re: group contact cache. 

You may need to rebuild some of your smart groups, or disable them.