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

exp:channel:form throws session overload when logged out and logged_out_member_id param used

Developer Preview

Solspace's avatar
Solspace
106 posts
10 years ago
Solspace's avatar Solspace

This bug relates to one filed by Greg Ferrell here: https://ellislab.com/forums/viewthread/248348/

This happens native to EE 3 though. The channel entries add-on also tries to manipulate the ee()->session object just as a number of 3rd party add-ons do. Perhaps the fix for this will also help us out.


Exception Caught Cannot overwrite session on the loader.

/Users/mk/Sites/ee300/system/ee/EllisLab/ExpressionEngine/Legacy/Facade.php:83 Stack Trace: show


Steps to reproduce:

  1. Add this in a template {exp:channel:form channel="some_channel" logged_out_member_id="1"} hiya {/exp:channel:form}

  2. Be logged out.

  3. Go to that page.

       
Kevin Cupp's avatar
Kevin Cupp
791 posts
10 years ago
Kevin Cupp's avatar Kevin Cupp

Thanks, yes we embarrassingly left in a case where we’re overwriting the session object, oops! We’re working on it to see if we can avoid using that anti-pattern.

       
Solspace's avatar
Solspace
106 posts
10 years ago
Solspace's avatar Solspace

Cool. We’ll hang back and watch.

       

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.