When i try to place the block from /admin/structure/block it throw an exception:

TypeError: Argument 1 passed to Drupal\mapbox_ui\Plugin\Block\MapBoxBlock::__construct() must implement interface Drupal\Core\Config\ConfigFactoryInterface, array given, called in my-project/core/lib/Drupal/Core/Plugin/Factory/ContainerFactory.php on line 25 in Drupal\mapbox_ui\Plugin\Block\MapBoxBlock->__construct() (line 34 of my-project/modules/contrib/mapbox_ui/src/Plugin/Block/MapBoxBlock.php)

Comments

berramou created an issue. See original summary.

berramou’s picture

berramou’s picture

Status: Active » Needs review

  • oumoumad committed 2a3b246 on 8.x-1.x authored by berramou
    Issue #3144131 by berramou: Dependency not correctly injected in Block...
oumoumad’s picture

oumoumad’s picture

Status: Needs review » Fixed

  • oumoumad committed e450105 on 8.x-1.x authored by berramou
    Issue #3144131 by berramou: Dependency not correctly injected in Block...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.