diff --git a/src/metatags/seo-checks.js b/src/metatags/seo-checks.js index 90892b3e..6685869b 100644 --- a/src/metatags/seo-checks.js +++ b/src/metatags/seo-checks.js @@ -124,6 +124,9 @@ class SeoChecks { * @param tagContent */ addToAllTags(url, tagName, tagContent) { + if (!tagContent) { + return; + } const tagContentLowerCase = tagContent.toLowerCase(); this.allTags[tagName][tagContentLowerCase] ??= { pageUrls: new Set(),