We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

PHP error - Cannot change session cookie parameters when session is active

Development and Programming

Happy Content's avatar
Happy Content
54 posts
5 years ago
Happy Content's avatar Happy Content

I’ve inherited an EE site from another developer that has a customised wishlist feature. For the wishlist to work it needs https://www.php.net/manual/en/function.session-start.php

However with this switched (via htaccess tweak) the EE backend then gives this error.

session_set_cookie_params(): Cannot change session cookie parameters when session is active
ee/legacy/libraries/Core.php, line 130

Severity: E_WARNING

Running EE 4.3.8 - planning un update once I can figure out the severity of this issue.

Just want to know how serious this issue is. Can I safely ignore it?

The site is working fine, so I don’t want spend hours chasing a solution that isn’t strictly needed.

       
Tom Jaeger's avatar
Tom Jaeger
228 posts
5 years ago
Tom Jaeger's avatar Tom Jaeger

Thanks for getting in touch about this.

Unfortunately it’s hard to say what the impact might be without knowing how the custom wish list feature is written. That being said, I would also try changing the admin session type to be based on cookies to see if that resolves the issue.

https://docs.expressionengine.com/latest/control-panel/settings/security-privacy.html#cp-session-type

Thanks,

-Tom

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.