You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
if ($seoKeywords) {
$keyWords = $seoKeywords->get('keywords');
$modx->setPlaceholder('seoPro.keywords', $keyWords);
}
Could it be updated to:
$keyWords = '';
if ($seoKeywords) {
$keyWords = $seoKeywords->get('keywords');
}
// Always set the placeholder even if it is empty$modx->setPlaceholder('seoPro.keywords', $keyWords);
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The [[+seoPro.keywords]] is not set when there are no keywords. Can this always be set?
Issue
When a resource is rendered and their is no value set for the seoPro.keywords, it will not allow caching in Statcache or Stockpile Static Generator
Related code
Starting around line 164
SEOPro/core/components/seopro/elements/plugins/seopro.plugin.php
Line 164 in 41c7388
Could it be updated to:
The text was updated successfully, but these errors were encountered: