Problem/Motivation

After successful installation I get on every page below error . The backend pages is working well.

Drupal\Core\Render\Component\Exception\InvalidComponentException: [container] NULL value found, but a string or an object is required. This may be because the property is empty instead of having data present. If possible fix the source data, use the |default() twig filter, or update the schema to allow multiple types./n[container] Does not have a value in the enumeration ["","no-container","container","container-md","container-lg","container-xl","container-xxl","container-fluid"] in Drupal\Core\Theme\Component\ComponentValidator->validateProps() (line 203 of core/lib/Drupal/Core/Theme/Component/ComponentValidator.php).
Drupal\Core\Template\ComponentsTwigExtension->doValidateProps(Array, 'varbase_components:navbar') (Line: 109)
Drupal\Core\Template\ComponentsTwigExtension->validateProps(Array, 'varbase_components:navbar') (Line: 44)
__TwigTemplate_181e43690432afae1f39a37a35883e62->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array, Array) (Line: 188)
__TwigTemplate_6a861ad090c4d88cbb70f702c4c16959___1127905431->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 87)
__TwigTemplate_6a861ad090c4d88cbb70f702c4c16959->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 48)
__TwigTemplate_e46d22c62fed130ed538c848dd888757->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 1332)
Twig\Extension\CoreExtension::include(Object, Array, 'varbase_components:page') (Line: 40)
__TwigTemplate_64bbc9eacf8c36fb302d240bb522a405->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/contrib/vartheme_bs5/templates/page/page.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 491)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 248)
Drupal\Core\Render\Renderer->render(Array) (Line: 475)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 95)
__TwigTemplate_3e03f13205388ae9e877e91d37316c85->doDisplay(Array, Array) (Line: 360)
Twig\Template->yield(Array) (Line: 335)
Twig\Template->render(Array) (Line: 38)
Twig\TemplateWrapper->render(Array) (Line: 33)
twig_render_template('themes/contrib/vartheme_bs5/templates/system/html.html.twig', Array) (Line: 348)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 491)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 248)
Drupal\Core\Render\Renderer->render(Array) (Line: 158)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 153)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 54)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Steps to reproduce

Proposed resolution

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A

Comments

davesmn created an issue. See original summary.

rajab natshah’s picture

Project: Varbase - The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) » Varbase Components
Version: 10.0.0-rc3 » 2.0.x-dev
rajab natshah’s picture

#3444475: Fix Malformed inline YAML string in used yml files

✅ Released varbase-10.0.0-rc3

✅ Released varbase_components-2.0.0-rc1

  • Issue #3418152 by Andrew Answer, VVS: Fixed Malformed changes for the Pagination ( the pager ) to follow with Varbase Design System

✅ Released vartheme_bs5-3.0.0-rc1

You may need to apply the fixes to your custom theme.
or if you had any error while installing, I recommend re-install with DDEV or Lando

Fixed for Lando and DDEV
Please, check Installing Varbase

rajab natshah’s picture

Status: Active » Fixed
rajab natshah’s picture

Status: Fixed » Closed (fixed)
somms’s picture

I have found a similar error after a fresh install of the latest version, using composer.
The installed version of vardot/varbase is 10.0.2

Additional info: The same problem is still present in version 10.0.3

This issue should be reopened

rajab natshah’s picture

Status: Closed (fixed) » Active

I reopened the issue, for further follow-up to get it fixed

Updated the Installing Varbase locally with DDEV documentation page.

rajab natshah’s picture

Status: Active » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.