<div dir="ltr">Looks like my problem was <span class="gmail-pl-k" style="box-sizing:border-box;color:rgb(167,29,93);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">use</span><span style="color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre"> Dancer2 </span><span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre"><span class="gmail-pl-pds" style="box-sizing:border-box">'</span>:syntax<span class="gmail-pl-pds" style="box-sizing:border-box">'</span></span><span style="color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">; I removed it and decided to use </span><font color="#333333" face="consolas, liberation mono, menlo, courier, monospace"><span style="font-size:12px;white-space:pre">Dancer2::Serializer::JSON and seems to be working now.</span></font></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 1, 2017 at 3:12 PM, Scott H <span dir="ltr"><<a href="mailto:scott.harpster@gmail.com" target="_blank">scott.harpster@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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/<wbr>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/<wbr>Dancer2/Core/Role/DSL.pm line 76.<br> at /home/scott/perl5/lib/perl5/<wbr>Dancer2/Core/App.pm line 35.<br> at /home/scott/perl5/lib/perl5/<wbr>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" target="_blank">https://gist.github.com/<wbr>scottscreations/<wbr>5bf8f3a027f328dc0733f6d3683ccb<wbr>8e</a><div><br></div><div>Thanks,<br>Scott</div></div>
</blockquote></div><br></div>