Skip to content

urlencode() expects parameter 1 to be string, array given #30

@marcvdm

Description

@marcvdm

When using this package with my laravel 4.1-dev version and sentry 2 i get the following error.
urlencode() expects parameter 1 to be string, array given

It only happens when i try to log in with the remember me to true.

The backtrace on the error shows its trigger from

/vendor/barryvdh/laravel-debugbar/src/Barryvdh/Debugbar/ServiceProvider.php
Line 242: $debugbar->stackData();

I don't know if this is directly related to the debugbar but when i turn debugbar off it works fine.

EDIT

For the time being that laravel 4.1 is not released and/or sentry is not compatible i found a quick fix for my problem

Just before the redirect i do the following
\Config::set('laravel-debugbar::config.collectors.symfony_request',false);
And then do my redirect. This is only when a cookie has been set in app->after()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions