You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working around Ekino/Sf2, I saw a problem in some case with plugin.
For example, in my case, I use "qTranslate Plus" (a plugin to offer multilanguage post), inside author use variable $request, that's means when I run a page using this plugin I haved a "bad argument" for "$kernel->terminate($request, $response);".
To avoid this, I suggest to say in documentation to wrap all (excluse use of course) content of app.php and app_dev.php in a function (not closure because I saw problem with that).
I my case I do :
<?phpuseSymfony\Component\HttpFoundation\Request;
functionrun(){
// here all the stuff
}
run();
after this, no more problem :)
The text was updated successfully, but these errors were encountered:
Working around Ekino/Sf2, I saw a problem in some case with plugin.
For example, in my case, I use "qTranslate Plus" (a plugin to offer multilanguage post), inside author use variable $request, that's means when I run a page using this plugin I haved a "bad argument" for "$kernel->terminate($request, $response);".
To avoid this, I suggest to say in documentation to wrap all (excluse use of course) content of app.php and app_dev.php in a function (not closure because I saw problem with that).
I my case I do :
after this, no more problem :)
The text was updated successfully, but these errors were encountered: