Solution: What to do if ez publish loads a blank page or error?

Clear the caches using a shell command (in sites root folder):

php bin/php/ezcache.php --clear-all --purge

Check var/log/error.log and php error log for more information.