Fatal error on setUniqueId() on block

Created on 21 May 2018, almost 7 years ago
Updated 1 June 2020, almost 5 years ago

Hello;

When placing a subscription block using 8.x-1.x-dev, something seems to be broken as the site fails with the following error:

Error: Call to undefined method Drupal\simplenews\Form\SubscriberForm::setUniqueId() in Drupal\simplenews\Plugin\Block\SimplenewsSubscriptionBlock->build() (line 164 of modules/contrib/simplenews/src/Plugin/Block/SimplenewsSubscriptionBlock.php).

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇪🇸Spain idiaz.roncero Madrid

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.

  • 🇩🇪Germany alxn

    I encountered this error in SimpleNews 4. The block was embedded in a paragraph using a block reference and in the form view of the block paragraph the block option "configuration form: hidden" was selected. The solution was to change the block configuration form option to "full".

Production build 0.71.5 2024