public function __toString() { try { return (string) $this->render(); } catch (\Exception $e) { Debug::report($e); return Debug::format_alert($e); } }