whiteoctober/Pagerfanta — Issue #37: Argument #2 is not an array in PagerfantaBundle/Twig/PagerfantaExtension.php line 73
Author: dinamic
Created: 2011-12-05 09:08:01+00:00
State: open

After the vendors update today I've got the following error message:

> Argument #2 is not an array in ....../PagerfantaBundle/Twig/PagerfantaExtension.php line 73

The issue seem to be related to a recent commit:
https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle/commit/0162c3019517e044fc4dcd82b454fc7945feb92f#comments

It is mentioned that I should use the symfony master version in order for this to not fail, thus I'm using the latest tag.

deps:

> [symfony]
> git=http://github.com/symfony/symfony.git
> version=v2.0.6
>
>[twig]
> git=http://github.com/fabpot/Twig.git
> version=v1.1.2
>
>[monolog]
> git=http://github.com/Seldaek/monolog.git
> version=1.0.1
>
>[doctrine-common]
> git=http://github.com/doctrine/common.git
> version=2.1.1
>
>[doctrine-migrations]
> git=http://github.com/doctrine/migrations.git
>
>[DoctrineMigrationsBundle]
> git=http://github.com/symfony/DoctrineMigrationsBundle.git
> target=/bundles/Symfony/Bundle/DoctrineMigrationsBundle
>
>[doctrine-dbal]
> git=http://github.com/doctrine/dbal.git
> version=2.1.2
>
>[doctrine]
> git=http://github.com/doctrine/doctrine2.git
> version=2.1.1
>
>[swiftmailer]
> git=http://github.com/swiftmailer/swiftmailer.git
> version=v4.1.2
>
>[assetic]
> git=http://github.com/kriswallsmith/assetic.git
> version=v1.0.2
>
>[twig-extensions]
> git=http://github.com/fabpot/Twig-extensions.git
>
>[metadata]
> git=http://github.com/schmittjoh/metadata.git
> version=1.0.0
>
>[SensioFrameworkExtraBundle]
> git=http://github.com/sensio/SensioFrameworkExtraBundle.git
> target=/bundles/Sensio/Bundle/FrameworkExtraBundle
> version=origin/2.0
>
>[JMSSecurityExtraBundle]
> git=http://github.com/schmittjoh/JMSSecurityExtraBundle.git
> target=/bundles/JMS/SecurityExtraBundle
> version=origin/1.0.x
>
>[SensioDistributionBundle]
> git=http://github.com/sensio/SensioDistributionBundle.git
> target=/bundles/Sensio/Bundle/DistributionBundle
> version=origin/1.0
>
>[SensioGeneratorBundle]
> git=http://github.com/sensio/SensioGeneratorBundle.git
> target=/bundles/Sensio/Bundle/GeneratorBundle
>
>[AsseticBundle]
> git=http://github.com/symfony/AsseticBundle.git
> target=/bundles/Symfony/Bundle/AsseticBundle
> version=v1.0.1
>
>[pagerfanta]
> git=http://github.com/whiteoctober/Pagerfanta.git
>
>[WhiteOctoberPagerfantaBundle]
> git=http://github.com/whiteoctober/WhiteOctoberPagerfantaBundle.git
> target=/bundles/WhiteOctober/PagerfantaBundle
>
>[doctrine-fixtures]
> git=http://github.com/doctrine/data-fixtures.git
>
>[DoctrineFixturesBundle]
> git=http://github.com/symfony/DoctrineFixturesBundle.git
> target=/bundles/Symfony/Bundle/DoctrineFixturesBundle
>
>[gedmo-doctrine-extensions]
> git=http://github.com/l3pp4rd/DoctrineExtensions.git
>
>[Stof-DoctrineExtensionsBundle]
> git=https://github.com/stof/StofDoctrineExtensionsBundle.git
> target=/bundles/Stof/DoctrineExtensionsBundle
>