kunicmarko20 / SonataImporterBundle

Easier handling of Import in Sonata Admin.
MIT License
4 stars 3 forks source link

Issue installing on Symfony 3.4 / Sonata #4

Closed SchulzWill closed 4 years ago

SchulzWill commented 4 years ago
Q A
Version 0.1.1

Support Question

Hello there, I am trying to install this package on a version of Cocorico and everytime I run my composer install, i receive the following error:

Fatal error: Uncaught Symfony\Component\Debug\Exception\UndefinedMethodException: Attempted to call an undefined method named "getRootNode" of class "Symfony\Component\Config\Definition\Builder\TreeBuilder". in vendor/kunicmarko/sonata-importer-bundle/src/DependencyInjection/Configuration.php on line 19

Symfony\Component\Debug\Exception\UndefinedMethodException: Attempted to call an undefined method named "getRootNode" of class "Symfony\Component\Config\Definition\Builder\TreeBuilder". in vendor/kunicmarko/sonata-importer-bundle/src/DependencyInjection/Configuration.php on line 19

This only happens when I try to use new KunicMarko\SonataImporterBundle\SonataImporterBundle(), on my AppKernel.php.

Could you help me out with this?

kunicmarko20 commented 4 years ago

Hey @SchulzWill, didn't use this in a while but what version of Symfony do you have installed?

SchulzWill commented 4 years ago

Hello @kunicmarko20 , I'm using Symfony 3.4 with all the following requires:

"require": {
    "php": "^7.1",
    "a2lix/translation-form-bundle": "^2.1",
    "alcaeus/mongo-php-adapter": "^1.1",
    "doctrine/doctrine-bundle": "^1.8",
    "doctrine/doctrine-fixtures-bundle": "^3.0",
    "doctrine/doctrine-migrations-bundle": "^1.3",
    "doctrine/mongodb-odm-bundle": "^3.0",
    "doctrine/orm": "^2.5",
    "egulias/email-validator": "^2.1",
    "friendsofsymfony/ckeditor-bundle": "^2.1",
    "friendsofsymfony/message-bundle": "^1.3",
    "friendsofsymfony/user-bundle": "^2.0",
    "geocoder-php/google-maps-provider": "^4.1",
    "guzzlehttp/guzzle": "^6.3",
    "helios-ag/fm-elfinder-bundle": "^6.2",
    "hwi/oauth-bundle": "^0.5",
    "incenteev/composer-parameter-handler": "^2.1",
    "jms/di-extra-bundle": "^1.9",
    "jms/i18n-routing-bundle": "^2.0",
    "jms/translation-bundle": "^1.3",
    "knplabs/doctrine-behaviors": "^1.3",
    "knplabs/knp-menu-bundle": "^2.2",
    "kunicmarko/importer": "^0.2.0",
    "kunicmarko/sonata-importer-bundle": "0.1.1",
    "lexik/currency-bundle": "^2.1",
    "liip/imagine-bundle": "^1.9",
    "mrclay/minify": "^3.0",
    "oneup/uploader-bundle": "^1.9",
    "patchwork/jsqueeze": "^2.0",
    "php-http/guzzle6-adapter": "^1.1",
    "php-http/message": "^1.6",
    "ramsey/array_column": "~1.1",
    "sensio/distribution-bundle": "^5.0",
    "sensio/framework-extra-bundle": "^5.1",
    "simplethings/entity-audit-bundle": "^1.0",
    "sonata-project/admin-bundle": "3.35.0",
    "sonata-project/block-bundle": "3.11.0",
    "sonata-project/core-bundle": "3.9.0",
    "sonata-project/doctrine-orm-admin-bundle": "^3.1",
    "sonata-project/easy-extends-bundle": "^2.2",
    "sonata-project/exporter": "1.8.0",
    "sonata-project/intl-bundle": "^2.4",
    "sonata-project/user-bundle": "4.x@dev",
    "stof/doctrine-extensions-bundle": "^1.2",
    "symfony/assetic-bundle": "^2.8",
    "symfony/dependency-injection": "3.4.43",
    "symfony/monolog-bundle": "^3.1",
    "symfony/swiftmailer-bundle": "^3.1",
    "symfony/symfony": "^3.4",
    "whiteoctober/breadcrumbs-bundle": "^1.2",
    "willdurand/geocoder-bundle": "^5.0"
  },
  "require-dev": {
    "behat/mink-browserkit-driver": "^1.3",
    "behat/mink-extension": "^2.3",
    "behat/mink-goutte-driver": "^1.2",
    "behat/mink-selenium2-driver": "^1.3",
    "behat/mink-zombie-driver": "^1.4",
    "behat/symfony2-extension": "^2.1",
    "doctrine/doctrine-fixtures-bundle": "^3.0",
    "fzaninotto/faker": "^1.7",
    "hpatoio/deploy-bundle": "^1.5",
    "phpunit/phpunit": "7.0.0",
    "sensio/generator-bundle": "^3.1",
    "symfony/phpunit-bridge": "5.1.3",
    "vipsoft/doctrine-data-fixtures-extension": "^3.3",
    "wikimedia/composer-merge-plugin": "^1.4"
  }
kunicmarko20 commented 4 years ago

hey @SchulzWill, can you check if the new version (https://github.com/kunicmarko20/SonataImporterBundle/releases/tag/0.1.2) fixes it?

SchulzWill commented 4 years ago

Thank you, @kunicmarko20. This problem is now solved. 👍