Closed madmis closed 8 years ago
I can reproduce this error only for authenticated users.
It's produce same error for me.
I dig this issue a bit and here is the outcome For me (Symfony 3.0.4) issue happens only on first load, i.e. when no cache is available. Every subsequent request goes fine, unless I remove cache manually.
The problem is that RequestCompilerPass
injects call setRequest()
in hwi_oauth.templating.helper.oauth
, passing @request
or @request_stack
as argument
For some reason, on first load RequestStack::getMasterRequest()
(called in OAuthHelper::setRequest()
) returns null, and so null is stored in OAuthHelper::$request
, and then null is passed further to OAuthUtil
, which triggers this issue.
Looks like problem is related to the services initialization order.
Calls order on first load:
TemplateCacheWarmer
)I have the same error. Someone have solved this issue? Symfony 3.0.6
I've run into the same issue.
+1 same too
Same error here with php 5.6 and SF 2.8
Sometimes when i reload page, i get this error
http://prnt.sc/afyzo7
This is info from logs:
Code to render login links on the main page (copied from bundle)
Do you know the cause of this error?
http://prnt.sc/afz4jv - additional info (symfony 3.0.3, php 7.0.4-6).