ethercreative/seo

Focus Keywords Unavailable

springboynick opened this issue · 4 comments

All entries whether single or channels are showing focus keyword unavailable

Additional info

  • Craft version: 4.2.1.1
  • SEO version: 4.0.3
  • PHP version: 8.1.6
  • Database driver & version: MySQL 10.1.48
  • Other Plugins: redactor and freeform

Same here Craft 4

Same here in Craft 4 - The Craft 3 fix of - isn't working in Craft 4

I've got the same, digging into the Craft 4 Core and the plugin, it looks like the preview targets are not being set. Based on crafts docs I look like you might need a Pro account to access the multiple preview targets.

src/fields/SeoField.php ln:190

if ($section) {
  $hasPreview = !empty($section->previewTargets) && $previewAction !== null;
  $isSingle = $section->type === Section::TYPE_SINGLE;
}

Craft 4 Preview target docs
https://craftcms.com/docs/4.x/entries.html#entry-uri-formats

Bumping this issue because @JoelBeer 's analysis of the issue seems accurate.
Couldn't SEO keywords be available regardless of the Craft licensing type?