LogicException: Instances of XF\Db\AbstractAdapter cannot be serialized or unserialized src/XF/Db/AbstractAdapter.php:682
#0 [internal function]: XF\Db\AbstractAdapter->__sleep()
#1 src/XF/Mail/Queue.php(57): serialize(Object(Swift_Message))
#2 src/XF/Mail/Mailer.php(300): XF\Mail\Queue->queueForRetry(Object(Swift_Message), NULL)
#3 src/XF/Mail/Mail.php(459): XF\Mail\Mailer->send(Object(Swift_Message), Object(XF\Mail\SmtpTransport), NULL, true)
#4 src/addons/OzzModz/VerifyEmail/Service/User/EmailVerifier.php(134): XF\Mail\Mail->send()
#5 src/addons/OzzModz/VerifyEmail/Service/User/EmailVerifier.php(123): OzzModz\VerifyEmail\Service\User\EmailVerifier->sendEmailVerificationCode(Array)
#6 src/addons/OzzModz/VerifyEmail/XF/Pub/Controller/Register.php(61): OzzModz\VerifyEmail\Service\User\EmailVerifier->createValidationEntry(Object(XF\Session\Session), 'testa@lala.com', NULL)
#7 src/XF/Mvc/Dispatcher.php(352): OzzModz\VerifyEmail\XF\Pub\Controller\Register->actionWithoutVerificationCode(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('OzzModz\\VerifyE...', 'WithoutVerifica...', Object(XF\Mvc\RouteMatch), Object(OzzModz\VerifyEmail\XF\Pub\Controller\Register), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(OzzModz\VerifyEmail\XF\Pub\Controller\Register), Object(XF\Mvc\Reply\Reroute))
#10 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2483): XF\Mvc\Dispatcher->run()
#12 src/XF.php(524): XF\App->run()
#13 index.php(20): XF::runApp('XF\\Pub\\App')
#14 {main}