Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't work with symfony3 #1

Open
compworkmail opened this issue Oct 14, 2016 · 2 comments
Open

doesn't work with symfony3 #1

compworkmail opened this issue Oct 14, 2016 · 2 comments

Comments

@compworkmail
Copy link

Hello. I have tried according to your readme file install your bundle, but it gives me an error in symfony3:

Fatal error: Uncaught exception 'Symfony\Component\Config\Definition\Exception\InvalidDefinitionException' with message '->cannotBeEmpty() is not applicable to NumericNodeDefinition.' in /home/vaha/www/feastme.net/src/vendor/symfony/symfony/src/Symfony/Component/Config/Definition/Builder/NumericNodeDefinition.php:71 Stack trace: #0 /home/vaha/www/feastme.net/src/vendor/ashleydawson/simple-pagination-bundle/AshleyDawson/SimplePaginationBundle/DependencyInjection/Configuration.php(29): Symfony\Component\Config\Definition\Builder\NumericNodeDefinition->cannotBeEmpty() #1 /home/vaha/www/feastme.net/src/vendor/symfony/symfony/src/Symfony/Component/Config/Definition/Processor.php(50): AshleyDawson\SimplePaginationBundle\DependencyInjection\Configuration->getConfigTreeBuilder() #2 /home/vaha/www/feastme.net/src/vendor/ashleydawson/simple-pagination-bundle/AshleyDawson/SimplePaginationBundle/DependencyInjection/AshleyDawsonSimplePaginationExtension.php(27): Symfony\Component\Config\Definition\Processor->processConfiguration(Objec in /home/vaha/www/feastme.net/src/vendor/symfony/symfony/src/Symfony/Component/Config/Definition/Builder/NumericNodeDefinition.php on line 71

@AdamHornik
Copy link
Contributor

Hello, I had the same issue with Symfony 3. I made a fork of this bundle, where I fixed this issue. You could check here: https://github.com/nikdyvice/SimplePaginationBundle

@j0k3r
Copy link
Contributor

j0k3r commented Mar 10, 2017

Since #2 it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants