Notice: Uninitialized string offset: 0 in pdb_ng2_component_info_alter() in "pdb_ng2" sub-module

Created on 25 September 2019, about 5 years ago
Updated 31 July 2023, over 1 year ago

Getting following error after installing "Decoupled Blocks" sub module PDB Angular 2:

Notice: Uninitialized string offset: 0 in pdb_ng2_component_info_alter() (line 29 of /var/www/html/project/docroot/modules/contrib/pdb/modules/pdb_ng2/pdb_ng2.module) #0 /var/www/html/project/docroot/core/includes/bootstrap.inc(587): _drupal_error_handler_real(8, 'Uninitialized s...', '/var/www/html/2...', 29, Array) #1 /var/www/html/project/docroot/modules/contrib/pdb/modules/pdb_ng2/pdb_ng2.module(29): _drupal_error_handler(8, 'Uninitialized s...', '/var/www/html/2...', 29, Array) #2 /var/www/html/project/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php(539): pdb_ng2_component_info_alter(Array, NULL, NULL) #3 /var/www/html/project/docroot/modules/contrib/pdb/src/ComponentDiscovery.php(69): Drupal\Core\Extension\ModuleHandler->alter('component_info', Array) #4 /var/www/html/project/docroot/modules/contrib/pdb/src/Plugin/Derivative/PdbBlockDeriver.php(47): Drupal\pdb\ComponentDiscovery->getComponents() #5 /var/www/html/project/docroot/modules/contrib/react_block/src/Plugin/Derivative/ReactBlockDeriver.php(18): Drupal\pdb\Plugin\Derivative\PdbBlockDeriver->getDerivativeDefinitions(Array) #6 /var/www/html/project/docroot/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(101): Drupal\react_block\Plugin\Derivative\ReactBlockDeriver->getDerivativeDefinitions(Array) #7 /var/www/html/project/docroot/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(87): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives(Array) #8 /var/www/html/project/docroot/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(284): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions() #9 /var/www/html/project/docroot/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(175): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions() #10 /var/www/html/project/docroot/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryCachedTrait.php(22): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions() #11 /var/www/html/project/docroot/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php(16): Drupal\Core\Plugin\DefaultPluginManager->getDefinition('system_menu_blo...') #12 /var/www/html/project/docroot/core/lib/Drupal/Component/Plugin/PluginManagerBase.php(76): Drupal\Core\Plugin\Factory\ContainerFactory->createInstance('system_menu_blo...', Array) #13 /var/www/html/project/docroot/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(62): Drupal\Component\Plugin\PluginManagerBase->createInstance('system_menu_blo...', Array) #14 /var/www/html/project/docroot/core/modules/block/src/BlockPluginCollection.php(57): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->initializePlugin('system_menu_blo...') #15 /var/www/html/project/docroot/core/lib/Drupal/Component/Plugin/LazyPluginCollection.php(80): Drupal\block\BlockPluginCollection->initializePlugin('system_menu_blo...') #16 /var/www/html/project/docroot/core/modules/block/src/BlockPluginCollection.php(45): Drupal\Component\Plugin\LazyPluginCollection->get('system_menu_blo...') #17 /var/www/html/project/docroot/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(83): Drupal\block\BlockPluginCollection->get('system_menu_blo...') #18 /var/www/html/project/docroot/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(99): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->setConfiguration(Array) #19 /var/www/html/project/docroot/core/lib/Drupal/Core/Plugin/DefaultSingleLazyPluginCollection.php(55): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->addInstanceId('system_menu_blo...', Array) #20 /var/www/html/project/docroot/core/modules/block/src/BlockPluginCollection.php(34): Drupal\Core\Plugin\DefaultSingleLazyPluginCollection->__construct(Object(Drupal\Core\Block\BlockManager), 'system_menu_blo...', Array) #21 /var/www/html/project/docroot/core/modules/block/src/Entity/Block.php(156): Drupal\block\BlockPluginCollection->__construct(Object(Drupal\Core\Block\BlockManager), 'system_menu_blo...', Array, 'footersecondary') #22 /var/www/html/project/docroot/core/modules/block/src/Entity/Block.php(145): Drupal\block\Entity\Block->getPluginCollection() #23 /var/www/html/project/docroot/core/modules/block/src/BlockAccessControlHandler.php(118): Drupal\block\Entity\Block->getPlugin() #24 /var/www/html/project/docroot/core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php(105): Drupal\block\BlockAccessControlHandler->checkAccess(Object(Drupal\block\Entity\Block), 'view', Object(Drupal\Core\Session\AccountProxy)) #25 /var/www/html/project/docroot/core/lib/Drupal/Core/Entity/EntityBase.php(369): Drupal\Core\Entity\EntityAccessControlHandler->access(Object(Drupal\block\Entity\Block), 'view', Object(Drupal\Core\Session\AccountProxy), true) #26 /var/www/html/project/docroot/core/modules/block/src/BlockRepository.php(56): Drupal\Core\Entity\EntityBase->access('view', NULL, true) #27 /var/www/html/project/docroot/core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php(137): Drupal\block\BlockRepository->getVisibleBlocksPerRegion(Array) #28 /var/www/html/project/docroot/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(259): Drupal\block\Plugin\DisplayVariant\BlockPageVariant->build() #29 /var/www/html/project/docroot/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php(117): Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch)) #30 /var/www/html/project/docroot/core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\CurrentRouteMatch)) #31 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #32 /var/www/html/project/docroot/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher)) #33 /var/www/html/project/docroot/vendor/symfony/http-kernel/HttpKernel.php(156): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent)) #34 /var/www/html/project/docroot/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #35 /var/www/html/project/docroot/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #36 /var/www/html/project/docroot/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #37 /var/www/html/project/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #38 /var/www/html/project/docroot/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #39 /var/www/html/project/docroot/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #40 /var/www/html/project/docroot/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #41 /var/www/html/project/docroot/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #42 /var/www/html/project/docroot/core/lib/Drupal/Core/DrupalKernel.php(693): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #43 /var/www/html/project/docroot/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #44 {main}.
🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇳India suyash.vaidya Jaipur

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.71.5 2024