Cron Jobs not running on localhost – Probably an XML error

On activation of a custom plugin which uses woocommerce, I got this “Plugin could not be activated because it triggered a fatal error.” However, even if the wp debug is on, there is just an empty space. It does activate the second time. The Custom Plugin is not generating static XML on localhost as well.