diff --git a/code/Proxy/SSViewerProxy.php b/code/Proxy/SSViewerProxy.php index 7e8892f..0d33c2d 100644 --- a/code/Proxy/SSViewerProxy.php +++ b/code/Proxy/SSViewerProxy.php @@ -141,6 +141,10 @@ protected static function trackTemplateUsed($templateName) */ protected static function normalizeTemplateName($templateName) { + // Fallback for if the templateName is not a string or array (or anything, really) + if (!$templateName) { + $templateName = ''; + } return str_ireplace(BASE_PATH, '', $templateName); } }