dachcom-digital / pimcore-toolbox

Pimcore - Toolbox
Other
68 stars 28 forks source link

Issue with installation #183

Closed georgringer closed 1 year ago

georgringer commented 2 years ago

When installing it I get

Symfony\Component\Config\Definition\Exception\InvalidDefinitionException {#10015
  #message: "Following classes have been auto-registered by PIMCORE which is not allowed when using the Toolbox Bundle.Please disable the area autoload feature (pimcore.documents.areas.autoload = false), remove the classes or register them by using the toolbox.area.brick tag: app.area.brick.print_page_break, app.area.brick.print_title_page, app.area.brick.wysiwyg, app.area.brick.icon_teaser_row, app.area.brick.image_metadata, app.area.brick.blockquote, app.area.brick.headlines, app.area.brick.print_key_visual, app.area.brick.product_grid, app.area.brick.text_accordion, app.area.brick.hero_teaser, app.area.brick.horizontal_line, app.area.brick.email_image, app.area.brick.standard_teaser, app.area.brick.print_product_row, app.area.brick.gallery_folder, app.area.brick.time_slider_featurette, app.area.brick.gallery_carousel, app.area.brick.wysiwyg_with_images, app.area.brick.hero_grid, app.area.brick.print_toc, app.area.brick.print_wysiwyg, app.area.brick.email_wysiwyg, app.area.brick.embed, app.area.brick.featurette, app.area.brick.video, app.area.brick.image_hotspot_marker, app.area.brick.product_teaser, app.area.brick.pdf, app.area.brick.email_teaser, app.area.brick.print_product_table, app.area.brick.gallery_single_images, app.area.brick.personalized_product_teaser, app.area.brick.image, app.area.brick.email_news"
  #code: 0
  #file: "./vendor/dachcom-digital/toolbox/src/ToolboxBundle/DependencyInjection/Compiler/AreaBrickAutoloadWatcherPass.php"
  #line: 55
  trace: {
    ./vendor/dachcom-digital/toolbox/src/ToolboxBundle/DependencyInjection/Compiler/AreaBrickAutoloadWatcherPass.php:55 { …}
    ./vendor/symfony/dependency-injection/Compiler/Compiler.php:82 { …}
    ./vendor/symfony/dependency-injection/ContainerBuilder.php:757 { …}
    ./vendor/symfony/http-kernel/Kernel.php:546 { …}
    ./vendor/pimcore/pimcore/lib/Kernel.php:305 { …}
    ./vendor/symfony/http-kernel/Kernel.php:787 { …}
solverat commented 1 year ago

Hey @georgringer, is this still relevant? The message here is obvious: You've registered some bricks before you've installed or used the toolbox bundle. If you want to use the toolbox afterwards, you need to manually register your bricks like described in the given exception.

See https://github.com/dachcom-digital/pimcore-toolbox/blob/master/docs/10_CustomBricks.md

I'm closing this for now, if you have any further questions, feel free to use the discussions section: https://github.com/dachcom-digital/pimcore-toolbox/discussions