Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Fatal being thrown from using
$this->t()
Error: Call to undefined method Drupal\yoast_seo\SeoManager::t() in Drupal\yoast_seo\SeoManager->getScoreStatus() (line 140 of modules/contrib/yoast_seo/src/SeoManager.php).
Comment | File | Size | Author |
---|---|---|---|
#2 | string-translation-2975851-2.patch | 605 bytes | b_sharpe |
|
Comments
Comment #2
b_sharpe CreditAttribution: b_sharpe at ImageX commentedComment #3
KingdutchThat's an embarrassing oversight on my part ^^ Thanks for catching this! Will commit it no later than coming Monday.
Comment #5
KingdutchI've included your patch and followed the documentation guidelines to insert the string_translation service.
Thanks for your contribution! The fix has been committed and will be included in the next release : )
Comment #6
KingdutchForgot the status.