Error during login_check
  • 100500 excuses. There is a new problem after seemingly successful upgrade to 4.3.2

    Error Report
    Error ID: 2:Newscoop:4.3.2:ClassMetadataInfo.php:833
    Error String: Erroneous data format for unserializing 'Newscoop\Entity\User'
    Time: Tue, 03 Mar 2015 02:18:04 +0300
    Backtrace:

    Admin_Bootstrap::{closure}() called at [:]
    unserialize() called at [/var/www/newscoop/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php:833]
    Doctrine\ORM\Mapping\ClassMetadataInfo::newInstance() called at [/var/www/newscoop/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:2393]
    Doctrine\ORM\UnitOfWork::newInstance() called at [/var/www/newscoop/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:2474]
    Doctrine\ORM\UnitOfWork::createEntity() called at [/var/www/newscoop/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php:135]
    Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator::hydrateRowData() called at [/var/www/newscoop/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php:50]
    Doctrine\ORM\Internal\Hydration\SimpleObjectHydrator::hydrateAllData() called at [/var/www/newscoop/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php:111]
    Doctrine\ORM\Internal\Hydration\AbstractHydrator::hydrateAll() called at [/var/www/newscoop/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php:699]
    Doctrine\ORM\Persisters\BasicEntityPersister::load() called at [/var/www/newscoop/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php:171]
    Doctrine\ORM\EntityRepository::findOneBy() called at [/var/www/newscoop/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/Security/User/EntityUserProvider.php:55]
    Symfony\Bridge\Doctrine\Security\User\EntityUserProvider::loadUserByUsername() called at [/var/www/newscoop/vendor/symfony/symfony/src/Symfony/Component/Security/Core/Authentication/Provider/DaoAuthenticationProvider.php:83]
    Symfony\Component\Security\Core\Authentication\Provider\DaoAuthenticationProvider::retrieveUser() called at [/var/www/newscoop/vendor/symfony/symfony/src/Symfony/Component/Security/Core/Authentication/Provider/UserAuthenticationProvider.php:70]
    Symfony\Component\Security\Core\Authentication\Provider\UserAuthenticationProvider::authenticate() called at [/var/www/newscoop/cache/prod/classes.php:2844]
    Symfony\Component\Security\Core\Authentication\AuthenticationProviderManager::authenticate() called at [/var/www/newscoop/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/UsernamePasswordFormAuthenticationListener.php:88]
    Symfony\Component\Security\Http\Firewall\UsernamePasswordFormAuthenticationListener::attemptAuthentication() called at [/var/www/newscoop/src/Newscoop/NewscoopBundle/EventListener/CaptchaUsernamePasswordFormAuthenticationListener.php:45]
    Newscoop\NewscoopBundle\EventListener\CaptchaUsernamePasswordFormAuthenticationListener::attemptAuthentication() called at [/var/www/newscoop/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/AbstractAuthenticationListener.php:145]
    Symfony\Component\Security\Http\Firewall\AbstractAuthenticationListener::handle() called at [/var/www/newscoop/cache/prod/classes.php:2721]
    Symfony\Component\Security\Http\Firewall::onKernelRequest() called at [:]
    call_user_func() called at [/var/www/newscoop/cache/prod/classes.php:2031]
    Symfony\Component\EventDispatcher\EventDispatcher::doDispatch() called at [/var/www/newscoop/cache/prod/classes.php:1964]
    Symfony\Component\EventDispatcher\EventDispatcher::dispatch() called at [/var/www/newscoop/cache/prod/classes.php:2128]
    Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch() called at [/var/www/newscoop/application/bootstrap.php.cache:2880]
    Symfony\Component\HttpKernel\HttpKernel::handleRaw() called at [/var/www/newscoop/application/bootstrap.php.cache:2865]
    Symfony\Component\HttpKernel\HttpKernel::handle() called at [/var/www/newscoop/application/bootstrap.php.cache:2994]
    Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel::handle() called at [/var/www/newscoop/application/bootstrap.php.cache:2274]
    Symfony\Component\HttpKernel\Kernel::handle() called at [/var/www/newscoop/public/index.php:69]
    require_once() called at [/var/www/newscoop/index.php:17]
    require_once() called at [/var/www/newscoop/admin.php:2]

    How to Fix?
    Post edited by Andrei S. at 2015-03-02 18:16:47