An array sometimes is being passed as the error log, which was causing a fatal error when the installation crashed. This also hides the real reason of the crash, since the installation log never shows.