Problem/Motivation
TypeError: Cannot access offset of type string on string in Drupal\better_social_sharing_buttons\Plugin\Block\SocialSharingButtonsBlock->blockForm() (line 138 of /web/drupal/stage/tags/3.4.15/docroot/modules/contrib/better_social_sharing_buttons/src/Plugin/Block/SocialSharingButtonsBlock.php).
#0 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Block/BlockPluginTrait.php(188): Drupal\better_social_sharing_buttons\Plugin\Block\SocialSharingButtonsBlock->blockForm()
#1 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Block/BlockBase.php(35): Drupal\Core\Block\BlockBase->traitBuildConfigurationForm()
#2 /web/drupal/stage/tags/3.4.15/docroot/modules/contrib/block_field/src/Plugin/Field/FieldWidget/BlockFieldWidget.php(180): Drupal\Core\Block\BlockBase->buildConfigurationForm()
#3 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Field/WidgetBase.php(459): Drupal\block_field\Plugin\Field\FieldWidget\BlockFieldWidget->formElement()
#4 /web/drupal/stage/tags/3.4.15/docroot/modules/contrib/block_field/src/Plugin/Field/FieldWidget/BlockFieldWidget.php(198): Drupal\Core\Field\WidgetBase->formSingleElement()
#5 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Field/WidgetBase.php(219): Drupal\block_field\Plugin\Field\FieldWidget\BlockFieldWidget->formSingleElement()
#6 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Field/WidgetBase.php(120): Drupal\Core\Field\WidgetBase->formMultipleElements()
#7 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php(190): Drupal\Core\Field\WidgetBase->form()
#8 /web/drupal/stage/tags/3.4.15/docroot/modules/contrib/paragraphs/src/Plugin/Field/FieldWidget/ParagraphsWidget.php(843): Drupal\Core\Entity\Entity\EntityFormDisplay->buildForm()
#9 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Field/WidgetBase.php(459): Drupal\paragraphs\Plugin\Field\FieldWidget\ParagraphsWidget->formElement()
#10 /web/drupal/stage/tags/3.4.15/docroot/modules/contrib/paragraphs/src/Plugin/Field/FieldWidget/ParagraphsWidget.php(1390): Drupal\Core\Field\WidgetBase->formSingleElement()
#11 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Field/WidgetBase.php(120): Drupal\paragraphs\Plugin\Field\FieldWidget\ParagraphsWidget->formMultipleElements()
#12 /web/drupal/stage/tags/3.4.15/docroot/modules/contrib/paragraphs/src/Plugin/Field/FieldWidget/ParagraphsWidget.php(1512): Drupal\Core\Field\WidgetBase->form()
#13 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Entity/Entity/EntityFormDisplay.php(190): Drupal\paragraphs\Plugin\Field\FieldWidget\ParagraphsWidget->form()
#14 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Entity/ContentEntityForm.php(121): Drupal\Core\Entity\Entity\EntityFormDisplay->buildForm()
#15 /web/drupal/stage/tags/3.4.15/docroot/core/modules/node/src/NodeForm.php(134): Drupal\Core\Entity\ContentEntityForm->form()
#16 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Entity/EntityForm.php(107): Drupal\node\NodeForm->form()
#17 [internal function]: Drupal\Core\Entity\EntityForm->buildForm()
#18 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Form/FormBuilder.php(536): call_user_func_array()
#19 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Form/FormBuilder.php(284): Drupal\Core\Form\FormBuilder->retrieveForm()
#20 /web/drupal/stage/tags/3.4.15/docroot/modules/contrib/autosave_form/src/Form/AutosaveFormBuilder.php(97): Drupal\Core\Form\FormBuilder->buildForm()
#21 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\autosave_form\Form\AutosaveFormBuilder->buildForm()
#22 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#23 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#24 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/Render/Renderer.php(637): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#25 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
#26 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#27 /web/drupal/stage/tags/3.4.15/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#28 /web/drupal/stage/tags/3.4.15/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#29 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#30 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#31 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#32 /web/drupal/stage/tags/3.4.15/docroot/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#33 /web/drupal/stage/tags/3.4.15/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#34 /web/drupal/stage/tags/3.4.15/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass()
#35 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#36 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#37 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#38 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#39 /web/drupal/stage/tags/3.4.15/docroot/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#40 /web/drupal/stage/tags/3.4.15/docroot/index.php(19): Drupal\Core\DrupalKernel->handle()
#41 {main}
Steps to reproduce
Try to place a block for Better Social Sharing Buttons
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork better_social_sharing_buttons-3574122
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
shelane