Exception trace:
() at /h/6vkusovby/htdocs/vendor/symfony/symfony/src/Symfony/Component/Config/Resource/FileResource.php:75
Symfony\Component\Config\Resource\FileResource->unserialize() at n/a:n/a
unserialize() at /h/6vkusovby/htdocs/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php:99
Symfony\Component\Config\ResourceCheckerConfigCache->isFresh() at /h/6vkusovby/htdocs/vendor/symfony/symfony/src/Symfony/Component/Config/ConfigCache.php:60
Symfony\Component\Config\ConfigCache->isFresh() at /h/6vkusovby/htdocs/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:482
Symfony\Component\HttpKernel\Kernel->initializeContainer() at /h/6vkusovby/htdocs/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:116
Symfony\Component\HttpKernel\Kernel->boot() at /h/6vkusovby/htdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:68
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /h/6vkusovby/htdocs/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:122
Symfony\Component\Console\Application->run() at /h/6vkusovby/htdocs/bin/console:29
Symfony\Component\Config\Resource\FileResource->unserialize() at n/a:n/a
unserialize() at /h/6vkusovby/htdocs/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php:99
class User implements UserInterface, \Serializable
{
...
public function serialize()
{
return serialize(array(
$this->id,
$this->name,
$this->birthday,
$this->firstName,
$this->lastName,
$this->email,
$this->phoneCode,
$this->phoneNumber,
$this->gender,
$this->password,
$this->salt,
$this->roles,
$this->newsletter,
$this->confirmed,
$this->resetPasswordToken,
$this->confirmationToken,
$this->plainPassword,
$this->comments,
$this->categories,
$this->avatar,
$this->oldPassword,
$this->kitchens,
$this->pointsAddedProfile,
$this->affiliateCode,
$this->affiliateUser,
$this->pointsAddedAffiliate,
$this->orderFrequency,
$this->averageBill,
$this->learnedFrom,
$this->facebookId,
$this->googleId,
$this->vkId,
$this->okId,
$this->instagramId,
$this->pointsAddedVk,
$this->pointsAddedOk,
$this->registrationIp,
$this->lastLoginIp,
));
}
/**
* {@inheritdoc}
*/
public function unserialize($serialized)
{
$data = unserialize($serialized);
// add a few extra elements in the array to ensure that we have enough keys when unserializing
// older data which does not include all properties.
$data = array_merge($data, array_fill(0, 2, null));
list(
$this->id,
$this->name,
$this->birthday,
$this->firstName,
$this->lastName,
$this->email,
$this->phoneCode,
$this->phoneNumber,
$this->gender,
$this->password,
$this->salt,
$this->roles,
$this->newsletter,
$this->confirmed,
$this->resetPasswordToken,
$this->confirmationToken,
$this->plainPassword,
$this->comments,
$this->categories,
$this->avatar,
$this->oldPassword,
$this->kitchens,
$this->pointsAddedProfile,
$this->affiliateCode,
$this->affiliateUser,
$this->pointsAddedAffiliate,
$this->orderFrequency,
$this->averageBill,
$this->learnedFrom,
$this->facebookId,
$this->googleId,
$this->vkId,
$this->okId,
$this->instagramId,
$this->pointsAddedVk,
$this->pointsAddedOk,
$this->registrationIp,
$this->lastLoginIp,
) = $data;
}
...
}
и
class Restaurant implements UserInterface, \Serializable
{
...
bin/console cache:clear --no-debug
И отпустило )))