Warning message while placing the block via Context module

Created on 17 May 2017, about 7 years ago
Updated 28 August 2023, 10 months ago

Hi there,
I'm trying to add the Twitter Block into a theme region via Context.
When I submit the context form, the following error message appears:

Warning: Invalid argument supplied for foreach() in Drupal\twitter_block\Plugin\Block\TwitterBlock->blockSubmit() (line 178 of modules/contrib/twitter_block/src/Plugin/Block/TwitterBlock.php)

I've already created the patch that will fix this warning and I'm going to attach it to the comment below.

Hope it helps.
Regards.

🐛 Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

🇮🇹Italy aronne

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.

Production build 0.69.0 2024