<div dir="ltr">Hi Everyone,<br><br>Long time Dancer user, currently migrating a system over to Dancer2 from Dancer and not really into using Dancer2::Session::DBIC so I am converting some of the Dancer::Session::DBI over with what I need. I am reaching out because I am at a point where I don't know what else to do to make this work. It seems to be generating sessions into my database table but with no session_data, only id's. Right after I would login this error pops up.<br><br><b>Console:</b><br>Exception caught in 'core.app.after_request' filter: Hook error: flush() called outside streaming response at /home/scott/perl5/lib/perl5/Dancer2/Core/Role/DSL.pm line 76.<br><br><b>Web:</b><br>Internal Server Error<br><br>Exception caught in 'core.app.after_request' filter: Hook error: flush() called outside streaming response at /home/scott/perl5/lib/perl5/Dancer2/Core/Role/DSL.pm line 76.<br> at /home/scott/perl5/lib/perl5/Dancer2/Core/App.pm line 35.<br> at /home/scott/perl5/lib/perl5/Dancer2/Core/Role/Hookable.pm line 115.<br><br><br>I don't have a repo yet but a gist will work<br><br><b>Code:</b><br><a href="https://gist.github.com/scottscreations/5bf8f3a027f328dc0733f6d3683ccb8e">https://gist.github.com/scottscreations/5bf8f3a027f328dc0733f6d3683ccb8e</a><div><br></div><div>Thanks,<br>Scott</div></div>