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.
Problem/Motivation
The website encountered an unexpected error. Please try again later.
Error: Call to undefined method Drupal\social_content_block\ContentBuilder::t() in Drupal\social_content_block\ContentBuilder->getTopics() (line 137 of profiles/contrib/social/modules/social_features/social_content_block/src/ContentBuilder.php).
Proposed resolution
Add & use StringTranslationTrait in the Drupal\social_content_block\ContentBuilder
Comments
Comment #2
SV CreditAttribution: SV at Lemberg Solutions, Drupal Ukraine Community commentedhttps://github.com/goalgorilla/open_social/pull/1603
Comment #3
SV CreditAttribution: SV at Lemberg Solutions, Drupal Ukraine Community commentedComment #4
lexhoukLooks good for me.
Comment #5
ronaldtebrake CreditAttribution: ronaldtebrake as a volunteer and for Open Social commentedWill be fixed in 6.x and 7.x thanks.