- 🇳🇱Netherlands kingdutch
Drupal 7 has come to end of life and I haven't worked with Drupal 7 in many years so I'm marking this as won't fix.
The problem is in yoast_seo_get_score() which takes only $nid as an argument, while it should also take revision id. In this case the function is called from yoast_seo_handler_rating class. Because the revision id is not specified, the score returned is not necesarily the one associated with latest revision.
Furthermore when deleting node revisions, the corresponding revisions of yoast scores are not being deleted from yoast_seo table.
You can use hook_node_revision_delete() to achieve the desired result.
Closed: won't fix
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Drupal 7 has come to end of life and I haven't worked with Drupal 7 in many years so I'm marking this as won't fix.