Error calling the method ViewsRenderPipelineMarkup::getUntranslatedString() n the SharethisWidgetBlock.php file

Created on 25 June 2021, almost 3 years ago
Updated 16 January 2023, over 1 year ago

Problem/Motivation

Getting the error:

The website encountered an unexpected error. Please try again later.
Error: Call to undefined method Drupal\views\Render\ViewsRenderPipelineMarkup::getUntranslatedString() in Drupal\sharethis\Plugin\Block\SharethisWidgetBlock->build() (line 194 of modules/contrib/sharethis/src/Plugin/Block/SharethisWidgetBlock.php).

Steps to reproduce

Install the latest version of Sharethis module and run it in a Drupal 9.2 environment.

Temporal resolution

I haven't been able to properly fix the issue. Thus I have just removed the troublesome code with the attached patch as my website does not use the title field.
THE PATCH DOES NOT FIX THE ISSUE!

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia esnaremaussa

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.69.0 2024