title: Notice: unserialize(): Error at offset 473 of 578 bytes while executing doctrine query
body: <p>We are trying to execute the below doctrine query and its throwing unserialize(): Error at offset 473 of 578 bytes.</p>
  
  <p><strong>Doctrine Query:</strong></p>
  
  <pre><code>SELECT p FROM MyCompanyBundle:Person p 
  WHERE p.dateOfExit IS NULL 
  AND (p.passportCountry IS NULL OR p.passportCountry &lt;&gt; :india OR 
  p.invitationId IS NOT NULL) 
  AND (p.category &lt;&gt; :category_cl AND 
  p.category &lt;&gt; :category_staff AND p.category &lt;&gt; :category_sev AND 
  p.category &lt;&gt; :category_visitor)
  </code></pre>
  
  <p>As part of the above query its trying to fetch the below data and its throwing error.But the same is working as mysql query.</p>
  
  <p><strong>Mysql Table Output</strong></p>
  
  <p>a:3:{s:19:"volunteering-local0";a:3:{s:8:"activity";s:23:"Mystic eye kolkata 2017";s:11:"description";s:239:"I was in ushering team and also in the flying squad consisting of only 5 odd people including me. We were told to fly around and lend our hand to anyone who needs it in the spot. And mostly the menial jobs were our responsibility 1st hand.";s:8:"location";s:7:"Kolkata";}s:19:"volunteering-local1";a:3:{s:8:"activity";s:17:"Inner Engineering";s:11:"description";s:104:"I have volunteered in the initiation day . I had the oppurtunity to be part of the kitchen works too</p>
  
  <p><strong>Detailed Error Description:</strong></p>
  
  <p>Symfony\Component\Debug\Exception\
  ContextErrorException
  in vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/ArrayType.php (line 58)
  ArrayType->convertToPHPValue('a:3:{s:19:"volunteering-local0";a:3:{s:8:"activity";s:23:"Mystic eye kolkata 2017";s:11:"description";s:239:"I was in ushering team and also in the flying squad consisting of only 5 odd people including me. We were told to fly around and lend our hand to anyone who needs it in the spot. And mostly the menial jobs were our responsibility 1st hand.";s:8:"location";s:7:"Kolkata";}s:19:"volunteering-local1";a:3:{s:8:"activity";s:17:"Inner Engineering";s:11:"description";s:104:"I have volunteered in the initiation day . I had the oppurtunity to be part of the kitchen works too', object(MySQL57Platform))
  in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php (line 316)</p>
  
  <p>please suggest me any ideas to resolve this doctrine issue.</p>