I am working on the project which is already build on Symfony. The versions and server details are as below
PHP: 7.2
Webserver: apache 2.4.6
Symfony: 2.8.1.1
I am getting below warning while initializing new session on my controller. This issue comes only when I am working on debugger mode(app_dev.php) not on production environment.
"Warning: session_cache_limiter(): Cannot change cache limiter when session is active"
I have gone through the issue over google and seen that it is core PHP warning.
How can we solve this with symfony 2.8 version?
It seems somewhere in the framework session_cache_limiter() is called after session_start(). It should be called before.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With