Suddenly got
SQLSTATE[HY000]: General error: 1835 Malformed communication packet (SQL: select * from tb_users where (username =
tb_users
username
Also ran into this issue after mariadb updated overnight. Downgrading mariadb fixed the issue for me.
https://support.cpanel.net/hc/en-us/articles/360056772334