- 🇨🇴Colombia oneliner
I posted a solution that works for me here 🐛 Features Manager crash due to type array Closed: cannot reproduce
@mpotter is this something that can be added? I could attempt a patch if interested?
"....has encountered an unknown error"
What is the error how can I correct it? Thank you
TypeError: Argument 2 passed to Drupal\features\ConfigurationItem::__construct() must be of the type array, boolean given, called in /home/hopfrog/public_html/modules/features/src/FeaturesManager.php on line 1144 in Drupal\features\ConfigurationItem->__construct() (line 107 of /home/hopfrog/public_html/modules/features/src/ConfigurationItem.php) #0 /home/hopfrog/public_html/modules/features/src/FeaturesManager.php(1144): Drupal\features\ConfigurationItem->__construct('system.action.b...', false, Array) #1 /home/hopfrog/public_html/modules/features/src/FeaturesManager.php(238): Drupal\features\FeaturesManager->initConfigCollection(false) #2 /home/hopfrog/public_html/modules/features/src/Plugin/FeaturesAssignment/FeaturesAssignmentPackages.php(30): Drupal\features\FeaturesManager->getConfigCollection() #3 /home/hopfrog/public_html/modules/features/src/FeaturesAssigner.php(163): Drupal\features\Plugin\FeaturesAssignment\FeaturesAssignmentPackages->assignPackages(false) #4 /home/hopfrog/public_html/modules/features/src/FeaturesAssigner.php(154): Drupal\features\FeaturesAssigner->applyAssignmentMethod('packages', false) #5 /home/hopfrog/public_html/modules/features/modules/features_ui/src/Form/FeaturesExportForm.php(128): Drupal\features\FeaturesAssigner->assignConfigPackages() #6 [internal function]: Drupal\features_ui\Form\FeaturesExportForm->buildForm(Array, Object(Drupal\Core\Form\FormState)) #7 /home/hopfrog/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(514): call_user_func_array(Array, Array) #8 /home/hopfrog/public_html/core/lib/Drupal/Core/Form/FormBuilder.php(271): Drupal\Core\Form\FormBuilder->retrieveForm('features_export...', Object(Drupal\Core\Form\FormState)) #9 /home/hopfrog/public_html/core/lib/Drupal/Core/Controller/FormController.php(74): Drupal\Core\Form\FormBuilder->buildForm('features_export...', Object(Drupal\Core\Form\FormState)) #10 [internal function]: Drupal\Core\Controller\FormController->getContentResult(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Routing\RouteMatch)) #11 /home/hopfrog/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array) #12 /home/hopfrog/public_html/core/lib/Drupal/Core/Render/Renderer.php(574): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #13 /home/hopfrog/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure)) #14 /home/hopfrog/public_html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) #15 [internal function]: Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() #16 /home/hopfrog/public_html/vendor/symfony/http-kernel/HttpKernel.php(144): call_user_func_array(Object(Closure), Array) #17 /home/hopfrog/public_html/vendor/symfony/http-kernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #18 /home/hopfrog/public_html/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /home/hopfrog/public_html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /home/hopfrog/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(99): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /home/hopfrog/public_html/core/modules/page_cache/src/StackMiddleware/PageCache.php(78): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /home/hopfrog/public_html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /home/hopfrog/public_html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(50): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #24 /home/hopfrog/public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #25 /home/hopfrog/public_html/core/lib/Drupal/Core/DrupalKernel.php(656): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #26 /home/hopfrog/public_html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #27 {main}.
Postponed: needs info
3.5
User interface
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I posted a solution that works for me
here
🐛
Features Manager crash due to type array
Closed: cannot reproduce
@mpotter is this something that can be added? I could attempt a patch if interested?