http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9138 --- Comment #5 from Chris Cormack <chris@bigballofwax.co.nz> --- The problem code is in C4::Letters around line 555 We do this # check cache first (defined $handles{$table}) and return $handles{$table}; We just return an $sth for the table, not knowing if it is still even connected to the database, so you end up with a bunch of this DBD::mysql::st execute failed: MySQL server has gone away at /usr/share/koha/lib//C4/Letters.pm line 523. DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib//C4/Letters.pm line 526. And blank emails being sent, because the parsing isn't done -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.