Random Fatal errors header already sent
Solved: this turned out to be a WHM/CPanel bug that was loading imagick module twice.
Known fixes were found here: https://forums.cpanel.net/threads/php-warning-module-already-loaded-in-unknown-on-line-0.612735/