Yoast overall score is not updated, always Unknown and gray.

Created on 24 October 2023, almost 2 years ago

Problem/Motivation

Yoast overall score is not updated, always Unknown and gray.
No errors on the console log.

Yoast snipper preview works, title, and description are there. Also, the Content analysis part is updated.

Drupal 10.1.4
PHP 8.1.24

🐛 Bug report
Status

Active

Component

Code

Created by

🇪🇪Estonia mikkmiggur

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mikkmiggur
  • 🇧🇪Belgium victonator

    I had this problem as well and yoast_seo_update_8203 should've taken care of that and created a settings file.
    Do you have a yoast_seo.settings.yml file with the contents below?

    score_rules:
      0: 'Not available'
      8: Good
      1: Bad
      5: Okay
    
  • 🇪🇪Estonia mikkmiggur

    That update was somehow missing.
    Now it works for some cases. But not for every content type.
    But I don't know yet why some content types have scores and some don't.

  • Status changed to Postponed: needs info 2 months ago
  • 🇳🇱Netherlands kingdutch

    The issue suggests this wasn't an issue in the module. I'd need more info to know if there's a bug to be fixed.

  • 🇫🇮Finland joey-santiago

    I think this has to do with jumping from the 8.1 to the 8.2 version. Is there a recommended way of doing the update?

  • 🇳🇱Netherlands EgbertB

    I have a probably related jumping problem:
    drupal updated from 10.4.6 to 10.5.1
    upgraded yoast_seo from 1.9.0 to 2.2.0

    and suddenly all nodes for every bundle seo are bad or unavailable, no snippets, nothing.
    No errors in teh reports.
    No javascript errors.

    Compare the two screens shots

  • 🇮🇳India bala_28 Chennai

    I have added the yoast_seo.settings.yml as mentioned in comment #2 and got console errors.

    Made a patch to address this. Please test this and let me know.

  • 🇳🇱Netherlands EgbertB

    also tried to jump from 1.9.0 to 2.0.0 and 2.1.0 in drupal 10.5.1
    Same results als upgrading from 1.9.0 to 2.2.0

    And suddenly all nodes for every bundle seo are bad or unavailable
    no snippets, nothing.
    No errors in the reports.
    No javascript errors.

  • 🇷🇺Russia _kom__

    I have the same bug as #6 after upgrade from 2.1.0 to 2.2.0. Rollback to 2.1.0 restores functionality.

Production build 0.71.5 2024