Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Wrong parameters for Exception #59

@ornj

Description

@ornj

After Twitter redirects me to the check path, I get a fatal error stating, "Wrong parameters for Exception". Here is the stack trace.

FatalErrorException: Error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in /var/www/vendor/friendsofsymfony/twitter-bundle/FOS/TwitterBundle/Security/Authentication/Provider/TwitterProvider.php line 77

in /var/www/vendor/friendsofsymfony/twitter-bundle/FOS/TwitterBundle/Security/Authentication/Provider/TwitterProvider.php line 77
at ErrorHandler->handleFatal() in /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php line 0
at Exception->__construct('', '', '', '') in /var/www/vendor/friendsofsymfony/twitter-bundle/FOS/TwitterBundle/Security/Authentication/Provider/TwitterProvider.php line 77
at TwitterProvider->authenticate('token' => '') in /var/www/app/cache/dev/classes.php line 4186
at AuthenticationProviderManager->authenticate('token' => '') in /var/www/vendor/friendsofsymfony/twitter-bundle/FOS/TwitterBundle/Security/Firewall/TwitterListener.php line 45
at TwitterListener->attemptAuthentication('request' => '') in /var/www/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php line 136
at AbstractAuthenticationListener->handle('event' => '') in /var/www/app/cache/dev/classes.php line 4063
at Firewall->onKernelRequest('event' => '') in /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 451
at ??call_user_func('', '') in /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 451
at TraceableEventDispatcher->Symfony\Component\HttpKernel\Debug\{closure}('event' => '') in /var/www/app/cache/dev/classes.php line 3403
at ??call_user_func('', '') in /var/www/app/cache/dev/classes.php line 3403
at EventDispatcher->doDispatch('listeners' => '', 'eventName' => '', 'event' => '') in /var/www/app/cache/dev/classes.php line 3336
at EventDispatcher->dispatch('eventName' => '', 'event' => '') in /var/www/app/cache/dev/classes.php line 3500
at ContainerAwareEventDispatcher->dispatch('eventName' => '', 'event' => '') in /var/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 139
at TraceableEventDispatcher->dispatch('eventName' => '', 'event' => '') in /var/www/app/bootstrap.php.cache line 992
at HttpKernel->handleRaw('request' => '', 'type' => '') in /var/www/app/bootstrap.php.cache line 977
at HttpKernel->handle('request' => '', 'type' => '', 'catch' => '') in /var/www/app/bootstrap.php.cache line 1103
at ContainerAwareHttpKernel->handle('request' => '', 'type' => '', 'catch' => '') in /var/www/app/bootstrap.php.cache line 413
at Kernel->handle('request' => '', 'type' => '', 'catch' => '') in /var/www/web/app_dev.php line 27
at ??{main}() in /var/www/web/app_dev.php line 0

This is with Symfony 2.2.2, FOSTwitterBundle dev-master.

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