Skip to content

"contao_bootstrap.grid.grid_provider" failure #63

@Nick29de

Description

@Nick29de

Hi everyone,
I'm new here and have this problem.
Log file:
[2024-03-01T20:10:55.696928+01:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\DependencyInjection\Exception\Se rviceNotFoundException: "The "contao_bootstrap.grid.grid_provider" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead." at /mnt/web312/c1/88/59461088/htdocs/mosaik/vendor/symfony/dependency-injection/Container.php line 258 {"exception":"[object] (Symfony\Component\DependencyInjection\Exceptio n\ServiceNotFoundException(code: 0): The "contao_bootstrap.grid.grid_provider" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead. at /mnt/web312/c1/88/59461088/htdocs/mosaik/vendor/symfony/dependency-injection/Container.php:258)"} []

composer.json
`{
"name": "contao/managed-edition",
"type": "project",
"description": "Contao Open Source CMS",
"license": "LGPL-3.0-or-later",
"authors": [
{
"name": "Leo Feyer",
"homepage": "https://github.com/leofeyer"
}
],
"require": {
"codefog/contao-cookiebar": "^2.5.1",
"contao/calendar-bundle": "4.13.",
"contao/comments-bundle": "4.13.
",
"contao/conflicts": "@dev",
"contao/faq-bundle": "4.13.
",
"contao/listing-bundle": "4.13.",
"contao/manager-bundle": "4.13.
",
"contao/news-bundle": "4.13.",
"contao/newsletter-bundle": "4.13.
",
"contao-themes-net/mate-theme-bundle": "^1.0",
"terminal42/contao-changelanguage": "3.6.4",
"patchwork/utf8": "^1.3",
"contao-bootstrap/form": "^2.2.5"
},

"extra": {
    "contao-component-dir": "assets",
    "branch-alias": {
        "dev-4.5": "4.5.x-dev"
    },
    "public-dir": "web"
},
"scripts": {
    "post-install-cmd": [
        "@php vendor/bin/contao-setup"
    ],
    "post-update-cmd": [
        "@php vendor/bin/contao-setup"
    ]
}

}`

Stack trace:
`Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException:
The "contao_bootstrap.grid.grid_provider" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.

at vendor/symfony/dependency-injection/Container.php:258
at Symfony\Component\DependencyInjection\Container->make()
(vendor/symfony/dependency-injection/Container.php:220)
at Symfony\Component\DependencyInjection\Container->get()
(vendor/contao-bootstrap/grid/src/Component/ComponentTrait.php:37)
at ContaoBootstrap\Grid\Component\ContentElement\AbstractGridElement->getGridProvider()
(vendor/contao-bootstrap/grid/src/Component/ContentElement/GridStopElement.php:74)
at ContaoBootstrap\Grid\Component\ContentElement\GridStopElement->getIterator()
(vendor/contao-bootstrap/grid/src/Component/ContentElement/GridStopElement.php:52)
at ContaoBootstrap\Grid\Component\ContentElement\GridStopElement->compile()
(vendor/contao/core-bundle/src/Resources/contao/elements/ContentElement.php:246)
at Contao\ContentElement->generate()
(vendor/contao-bootstrap/grid/src/Component/ContentElement/GridStopElement.php:44)
at ContaoBootstrap\Grid\Component\ContentElement\GridStopElement->generate()
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:622)
at Contao\Controller::getContentElement()
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:197)
at Contao\ModuleArticle->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
at Contao\Module->generate()
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:70)
at Contao\ModuleArticle->generate()
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:550)
at Contao\Controller::getArticle()
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:392)
at Contao\Controller::getFrontendModule()
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:190)
at Contao\PageRegular->prepare()
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:60)
at Contao\PageRegular->getResponse()
(vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:320)
at Contao\FrontendIndex->renderPage()
(vendor/symfony/http-kernel/HttpKernel.php:163)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(web/index.php:44)
at require('/mnt/web312/c1/88/59461088/htdocs/mosaik/web/index.php')
(web/app.php:13)`

Thanks for your support!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions