Exception detected!

Warning: file_put_contents(/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.66059b06125b87.95301099): failed to open stream: No space left on device

500 Internal Server Error - ContextErrorException

Stack Trace

  1. in vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php at line 304  -
    1.         $tmpFileName $fileName '.' uniqid(''true);
    2.         file_put_contents($tmpFileName$proxyCode);
    3.         chmod($tmpFileName0664);
    4.         rename($tmpFileName$fileName);
    5.     }
  2. at ErrorHandler ->handleError ('2', 'file_put_contents(/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.66059b06125b87.95301099): failed to open stream: No space left on device', '/home/emtrgco/public_html/releases/20200528214001/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php', '304', array('class' => object(ClassMetadata), 'fileName' => '/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php', 'placeholderMatches' => array('' => 'namespace', '' => 'proxyShortClassName', '' => 'className', '' => 'baseProxyInterface', '' => 'lazyPropertiesDefaults', '' => 'additionalProperties', '' => 'constructorImpl', '' => 'magicGet', '' => 'magicSet', '' => 'magicIsset', '' => 'sleepImpl', '' => 'wakeupImpl', '' => 'cloneImpl', '' => 'methods'), 'placeholders' => array('' => 'Proxies\__CG__\SCA\Classification\Model', '' => 'Category', '' => 'SCA\Classification\Model\Category', '' => 'Doctrine\ORM\Proxy\Proxy', '' => '', '' => '', '' => ' /** * @param \Closure $initializer * @param \Closure $cloner */ public function __construct($initializer = null, $cloner = null) { $this->__initializer__ = $initializer; $this->__cloner__ = $cloner; }', '' => '', '' => '', '' => '', '' => ' /** * * @return array */ public function __sleep() { if ($this->__isInitialized__) { return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media'); } return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media'); }', '' => ' /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Category $proxy) { $proxy->__setInitializer(null); $proxy->__setCloner(null); $existingProperties = get_object_vars($proxy); foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { if ( ! array_key_exists($property, $existingProperties)) { $proxy->$property = $defaultValue; } } }; } }', '' => ' /** * */ public function __clone() { $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array()); }', '' => ' /** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array()); return parent::getId(); } /** * {@inheritDoc} */ public function disableChildrenLazyLoading() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'disableChildrenLazyLoading', array()); return parent::disableChildrenLazyLoading(); } /** * {@inheritDoc} */ public function setName($name) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name)); return parent::setName($name); } /** * {@inheritDoc} */ public function getName() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array()); return parent::getName(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', array($enabled)); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array()); return parent::getEnabled(); } /** * {@inheritDoc} */ public function setSlug($slug) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSlug', array($slug)); return parent::setSlug($slug); } /** * {@inheritDoc} */ public function getSlug() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSlug', array()); return parent::getSlug(); } /** * {@inheritDoc} */ public function setDescription($description) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', array($description)); return parent::setDescription($description); } /** * {@inheritDoc} */ public function getDescription() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', array()); return parent::getDescription(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', array()); return parent::__toString(); } /** * {@inheritDoc} */ public function prePersist() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'prePersist', array()); return parent::prePersist(); } /** * {@inheritDoc} */ public function preUpdate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'preUpdate', array()); return parent::preUpdate(); } /** * {@inheritDoc} */ public function setCreatedAt(\DateTime $createdAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt)); return parent::setCreatedAt($createdAt); } /** * {@inheritDoc} */ public function getCreatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array()); return parent::getCreatedAt(); } /** * {@inheritDoc} */ public function setUpdatedAt(\DateTime $updatedAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', array($updatedAt)); return parent::setUpdatedAt($updatedAt); } /** * {@inheritDoc} */ public function getUpdatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', array()); return parent::getUpdatedAt(); } /** * {@inheritDoc} */ public function setPosition($position) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', array($position)); return parent::setPosition($position); } /** * {@inheritDoc} */ public function getPosition() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array()); return parent::getPosition(); } /** * {@inheritDoc} */ public function addChildren(\Sonata\ClassificationBundle\Model\CategoryInterface $child) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChildren', array($child)); return parent::addChildren($child); } /** * {@inheritDoc} */ public function addChild(\Sonata\ClassificationBundle\Model\CategoryInterface $child, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChild', array($child, $nested)); return parent::addChild($child, $nested); } /** * {@inheritDoc} */ public function removeChild(\Sonata\ClassificationBundle\Model\CategoryInterface $childToDelete) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeChild', array($childToDelete)); return parent::removeChild($childToDelete); } /** * {@inheritDoc} */ public function getChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', array()); return parent::getChildren(); } /** * {@inheritDoc} */ public function setChildren($children) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChildren', array($children)); return parent::setChildren($children); } /** * {@inheritDoc} */ public function hasChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasChildren', array()); return parent::hasChildren(); } /** * {@inheritDoc} */ public function setParent(\Sonata\ClassificationBundle\Model\CategoryInterface $parent = NULL, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', array($parent, $nested)); return parent::setParent($parent, $nested); } /** * {@inheritDoc} */ public function getParent() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', array()); return parent::getParent(); } /** * {@inheritDoc} */ public function setMedia(\Sonata\MediaBundle\Model\MediaInterface $media = NULL) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMedia', array($media)); return parent::setMedia($media); } /** * {@inheritDoc} */ public function getMedia() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedia', array()); return parent::getMedia(); } '), 'placeholder' => ' /** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array()); return parent::getId(); } /** * {@inheritDoc} */ public function disableChildrenLazyLoading() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'disableChildrenLazyLoading', array()); return parent::disableChildrenLazyLoading(); } /** * {@inheritDoc} */ public function setName($name) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name)); return parent::setName($name); } /** * {@inheritDoc} */ public function getName() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array()); return parent::getName(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', array($enabled)); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array()); return parent::getEnabled(); } /** * {@inheritDoc} */ public function setSlug($slug) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSlug', array($slug)); return parent::setSlug($slug); } /** * {@inheritDoc} */ public function getSlug() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSlug', array()); return parent::getSlug(); } /** * {@inheritDoc} */ public function setDescription($description) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', array($description)); return parent::setDescription($description); } /** * {@inheritDoc} */ public function getDescription() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', array()); return parent::getDescription(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', array()); return parent::__toString(); } /** * {@inheritDoc} */ public function prePersist() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'prePersist', array()); return parent::prePersist(); } /** * {@inheritDoc} */ public function preUpdate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'preUpdate', array()); return parent::preUpdate(); } /** * {@inheritDoc} */ public function setCreatedAt(\DateTime $createdAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt)); return parent::setCreatedAt($createdAt); } /** * {@inheritDoc} */ public function getCreatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array()); return parent::getCreatedAt(); } /** * {@inheritDoc} */ public function setUpdatedAt(\DateTime $updatedAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', array($updatedAt)); return parent::setUpdatedAt($updatedAt); } /** * {@inheritDoc} */ public function getUpdatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', array()); return parent::getUpdatedAt(); } /** * {@inheritDoc} */ public function setPosition($position) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', array($position)); return parent::setPosition($position); } /** * {@inheritDoc} */ public function getPosition() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array()); return parent::getPosition(); } /** * {@inheritDoc} */ public function addChildren(\Sonata\ClassificationBundle\Model\CategoryInterface $child) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChildren', array($child)); return parent::addChildren($child); } /** * {@inheritDoc} */ public function addChild(\Sonata\ClassificationBundle\Model\CategoryInterface $child, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChild', array($child, $nested)); return parent::addChild($child, $nested); } /** * {@inheritDoc} */ public function removeChild(\Sonata\ClassificationBundle\Model\CategoryInterface $childToDelete) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeChild', array($childToDelete)); return parent::removeChild($childToDelete); } /** * {@inheritDoc} */ public function getChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', array()); return parent::getChildren(); } /** * {@inheritDoc} */ public function setChildren($children) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChildren', array($children)); return parent::setChildren($children); } /** * {@inheritDoc} */ public function hasChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasChildren', array()); return parent::hasChildren(); } /** * {@inheritDoc} */ public function setParent(\Sonata\ClassificationBundle\Model\CategoryInterface $parent = NULL, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', array($parent, $nested)); return parent::setParent($parent, $nested); } /** * {@inheritDoc} */ public function getParent() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', array()); return parent::getParent(); } /** * {@inheritDoc} */ public function setMedia(\Sonata\MediaBundle\Model\MediaInterface $media = NULL) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMedia', array($media)); return parent::setMedia($media); } /** * {@inheritDoc} */ public function getMedia() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedia', array()); return parent::getMedia(); } ', 'name' => 'methods', 'this' => object(ProxyGenerator), 'proxyCode' => '<?php namespace Proxies\__CG__\SCA\Classification\Model; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class Category extends \SCA\Classification\Model\Category implements \Doctrine\ORM\Proxy\Proxy { /** * @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with * three parameters, being respectively the proxy object to be initialized, the method that triggered the * initialization process and an array of ordered parameters that were passed to that method. * * @see \Doctrine\Common\Persistence\Proxy::__setInitializer */ public $__initializer__; /** * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object * * @see \Doctrine\Common\Persistence\Proxy::__setCloner */ public $__cloner__; /** * @var boolean flag indicating if this object was already initialized * * @see \Doctrine\Common\Persistence\Proxy::__isInitialized */ public $__isInitialized__ = false; /** * @var array properties to be lazy loaded, with keys being the property * names and values being their default values * * @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties */ public static $lazyPropertiesDefaults = array(); /** * @param \Closure $initializer * @param \Closure $cloner */ public function __construct($initializer = null, $cloner = null) { $this->__initializer__ = $initializer; $this->__cloner__ = $cloner; } /** * * @return array */ public function __sleep() { if ($this->__isInitialized__) { return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media'); } return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media'); } /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Category $proxy) { $proxy->__setInitializer(null); $proxy->__setCloner(null); $existingProperties = get_object_vars($proxy); foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { if ( ! array_key_exists($property, $existingProperties)) { $proxy->$property = $defaultValue; } } }; } } /** * */ public function __clone() { $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array()); } /** * Forces initialization of the proxy */ public function __load() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array()); } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __isInitialized() { return $this->__isInitialized__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setInitialized($initialized) { $this->__isInitialized__ = $initialized; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setInitializer(\Closure $initializer = null) { $this->__initializer__ = $initializer; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __getInitializer() { return $this->__initializer__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setCloner(\Closure $cloner = null) { $this->__cloner__ = $cloner; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific cloning logic */ public function __getCloner() { return $this->__cloner__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic * @static */ public function __getLazyProperties() { return self::$lazyPropertiesDefaults; } /** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array()); return parent::getId(); } /** * {@inheritDoc} */ public function disableChildrenLazyLoading() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'disableChildrenLazyLoading', array()); return parent::disableChildrenLazyLoading(); } /** * {@inheritDoc} */ public function setName($name) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name)); return parent::setName($name); } /** * {@inheritDoc} */ public function getName() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array()); return parent::getName(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', array($enabled)); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array()); return parent::getEnabled(); } /** * {@inheritDoc} */ public function setSlug($slug) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSlug', array($slug)); return parent::setSlug($slug); } /** * {@inheritDoc} */ public function getSlug() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSlug', array()); return parent::getSlug(); } /** * {@inheritDoc} */ public function setDescription($description) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', array($description)); return parent::setDescription($description); } /** * {@inheritDoc} */ public function getDescription() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', array()); return parent::getDescription(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', array()); return parent::__toString(); } /** * {@inheritDoc} */ public function prePersist() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'prePersist', array()); return parent::prePersist(); } /** * {@inheritDoc} */ public function preUpdate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'preUpdate', array()); return parent::preUpdate(); } /** * {@inheritDoc} */ public function setCreatedAt(\DateTime $createdAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt)); return parent::setCreatedAt($createdAt); } /** * {@inheritDoc} */ public function getCreatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array()); return parent::getCreatedAt(); } /** * {@inheritDoc} */ public function setUpdatedAt(\DateTime $updatedAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', array($updatedAt)); return parent::setUpdatedAt($updatedAt); } /** * {@inheritDoc} */ public function getUpdatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', array()); return parent::getUpdatedAt(); } /** * {@inheritDoc} */ public function setPosition($position) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', array($position)); return parent::setPosition($position); } /** * {@inheritDoc} */ public function getPosition() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array()); return parent::getPosition(); } /** * {@inheritDoc} */ public function addChildren(\Sonata\ClassificationBundle\Model\CategoryInterface $child) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChildren', array($child)); return parent::addChildren($child); } /** * {@inheritDoc} */ public function addChild(\Sonata\ClassificationBundle\Model\CategoryInterface $child, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChild', array($child, $nested)); return parent::addChild($child, $nested); } /** * {@inheritDoc} */ public function removeChild(\Sonata\ClassificationBundle\Model\CategoryInterface $childToDelete) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeChild', array($childToDelete)); return parent::removeChild($childToDelete); } /** * {@inheritDoc} */ public function getChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', array()); return parent::getChildren(); } /** * {@inheritDoc} */ public function setChildren($children) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChildren', array($children)); return parent::setChildren($children); } /** * {@inheritDoc} */ public function hasChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasChildren', array()); return parent::hasChildren(); } /** * {@inheritDoc} */ public function setParent(\Sonata\ClassificationBundle\Model\CategoryInterface $parent = NULL, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', array($parent, $nested)); return parent::setParent($parent, $nested); } /** * {@inheritDoc} */ public function getParent() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', array()); return parent::getParent(); } /** * {@inheritDoc} */ public function setMedia(\Sonata\MediaBundle\Model\MediaInterface $media = NULL) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMedia', array($media)); return parent::setMedia($media); } /** * {@inheritDoc} */ public function getMedia() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedia', array()); return parent::getMedia(); } } ', 'parentDirectory' => '/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies', 'tmpFileName' => '/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.66059b06125b87.95301099'))
  3. at file_put_contents ('/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.66059b06125b87.95301099', '<?php namespace Proxies\__CG__\SCA\Classification\Model; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class Category extends \SCA\Classification\Model\Category implements \Doctrine\ORM\Proxy\Proxy { /** * @var \Closure the callback responsible for loading properties in the proxy object. This callback is called with * three parameters, being respectively the proxy object to be initialized, the method that triggered the * initialization process and an array of ordered parameters that were passed to that method. * * @see \Doctrine\Common\Persistence\Proxy::__setInitializer */ public $__initializer__; /** * @var \Closure the callback responsible of loading properties that need to be copied in the cloned object * * @see \Doctrine\Common\Persistence\Proxy::__setCloner */ public $__cloner__; /** * @var boolean flag indicating if this object was already initialized * * @see \Doctrine\Common\Persistence\Proxy::__isInitialized */ public $__isInitialized__ = false; /** * @var array properties to be lazy loaded, with keys being the property * names and values being their default values * * @see \Doctrine\Common\Persistence\Proxy::__getLazyProperties */ public static $lazyPropertiesDefaults = array(); /** * @param \Closure $initializer * @param \Closure $cloner */ public function __construct($initializer = null, $cloner = null) { $this->__initializer__ = $initializer; $this->__cloner__ = $cloner; } /** * * @return array */ public function __sleep() { if ($this->__isInitialized__) { return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media'); } return array('__isInitialized__', '' . "\0" . 'SCA\\Classification\\Model\\Category' . "\0" . 'id', 'name', 'slug', 'enabled', 'description', 'createdAt', 'updatedAt', 'position', 'children', 'parent', 'media'); } /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Category $proxy) { $proxy->__setInitializer(null); $proxy->__setCloner(null); $existingProperties = get_object_vars($proxy); foreach ($proxy->__getLazyProperties() as $property => $defaultValue) { if ( ! array_key_exists($property, $existingProperties)) { $proxy->$property = $defaultValue; } } }; } } /** * */ public function __clone() { $this->__cloner__ && $this->__cloner__->__invoke($this, '__clone', array()); } /** * Forces initialization of the proxy */ public function __load() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', array()); } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __isInitialized() { return $this->__isInitialized__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setInitialized($initialized) { $this->__isInitialized__ = $initialized; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setInitializer(\Closure $initializer = null) { $this->__initializer__ = $initializer; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __getInitializer() { return $this->__initializer__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic */ public function __setCloner(\Closure $cloner = null) { $this->__cloner__ = $cloner; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific cloning logic */ public function __getCloner() { return $this->__cloner__; } /** * {@inheritDoc} * @internal generated method: use only when explicitly handling proxy specific loading logic * @static */ public function __getLazyProperties() { return self::$lazyPropertiesDefaults; } /** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', array()); return parent::getId(); } /** * {@inheritDoc} */ public function disableChildrenLazyLoading() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'disableChildrenLazyLoading', array()); return parent::disableChildrenLazyLoading(); } /** * {@inheritDoc} */ public function setName($name) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setName', array($name)); return parent::setName($name); } /** * {@inheritDoc} */ public function getName() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getName', array()); return parent::getName(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', array($enabled)); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', array()); return parent::getEnabled(); } /** * {@inheritDoc} */ public function setSlug($slug) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setSlug', array($slug)); return parent::setSlug($slug); } /** * {@inheritDoc} */ public function getSlug() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getSlug', array()); return parent::getSlug(); } /** * {@inheritDoc} */ public function setDescription($description) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setDescription', array($description)); return parent::setDescription($description); } /** * {@inheritDoc} */ public function getDescription() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getDescription', array()); return parent::getDescription(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', array()); return parent::__toString(); } /** * {@inheritDoc} */ public function prePersist() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'prePersist', array()); return parent::prePersist(); } /** * {@inheritDoc} */ public function preUpdate() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'preUpdate', array()); return parent::preUpdate(); } /** * {@inheritDoc} */ public function setCreatedAt(\DateTime $createdAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt)); return parent::setCreatedAt($createdAt); } /** * {@inheritDoc} */ public function getCreatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getCreatedAt', array()); return parent::getCreatedAt(); } /** * {@inheritDoc} */ public function setUpdatedAt(\DateTime $updatedAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setUpdatedAt', array($updatedAt)); return parent::setUpdatedAt($updatedAt); } /** * {@inheritDoc} */ public function getUpdatedAt() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getUpdatedAt', array()); return parent::getUpdatedAt(); } /** * {@inheritDoc} */ public function setPosition($position) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setPosition', array($position)); return parent::setPosition($position); } /** * {@inheritDoc} */ public function getPosition() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPosition', array()); return parent::getPosition(); } /** * {@inheritDoc} */ public function addChildren(\Sonata\ClassificationBundle\Model\CategoryInterface $child) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChildren', array($child)); return parent::addChildren($child); } /** * {@inheritDoc} */ public function addChild(\Sonata\ClassificationBundle\Model\CategoryInterface $child, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'addChild', array($child, $nested)); return parent::addChild($child, $nested); } /** * {@inheritDoc} */ public function removeChild(\Sonata\ClassificationBundle\Model\CategoryInterface $childToDelete) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'removeChild', array($childToDelete)); return parent::removeChild($childToDelete); } /** * {@inheritDoc} */ public function getChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getChildren', array()); return parent::getChildren(); } /** * {@inheritDoc} */ public function setChildren($children) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setChildren', array($children)); return parent::setChildren($children); } /** * {@inheritDoc} */ public function hasChildren() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'hasChildren', array()); return parent::hasChildren(); } /** * {@inheritDoc} */ public function setParent(\Sonata\ClassificationBundle\Model\CategoryInterface $parent = NULL, $nested = false) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setParent', array($parent, $nested)); return parent::setParent($parent, $nested); } /** * {@inheritDoc} */ public function getParent() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getParent', array()); return parent::getParent(); } /** * {@inheritDoc} */ public function setMedia(\Sonata\MediaBundle\Model\MediaInterface $media = NULL) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setMedia', array($media)); return parent::setMedia($media); } /** * {@inheritDoc} */ public function getMedia() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getMedia', array()); return parent::getMedia(); } } ')
    in vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php at line 304  +
  4. at ProxyGenerator ->generateProxyClass (object(ClassMetadata), '/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php')
    in vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php at line 220  +
  5. at AbstractProxyFactory ->getProxyDefinition ('SCA\Classification\Model\Category')
    in vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php at line 119  +
  6. at AbstractProxyFactory ->getProxy ('SCA\Classification\Model\Category', array('id' => '10'))
    in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 2695  +
  7. at UnitOfWork ->createEntity ('SCA\Commerce\Model\Product', array('name' => 'Emergency First Aid at Work 14th July 2021', 'slug' => 'emergency-first-aid-at-work-14th-july-2021', 'summary' => null, 'description' => '<p><span style="font-size:14px">This one-day Emergency First Aid at Work course will help you meet your regulatory requirements if your risk assessment indicates that first aid training covering emergency protocols only is sufficient for your workplace.&nbsp;&nbsp;This course is designed for people who want to receive training in emergency first aid.&nbsp; It is especially suited for nominated first aiders in smaller, low risk working environments, such as small offices.&nbsp; .</span></p> <p><span style="font-size:14px">This Emergency First Aid at Work 1&nbsp;Day&nbsp;course is HSE recognised and required for any business with up to 50&nbsp;employees and/or to assist staff holding the full First Aid at Work 3 Days qualification.&nbsp; Once qualified, holders of this Emergency First Aid at Work certificate can be used as a First Aider in the workplace in accordance with the Health and Safety at Work Act 1974.</span></p> <p><span style="font-size:14px"><u><strong>Who is this course for?</strong></u></span></p> <p><span style="font-size:14px">It is most suited to those working in high-risk environments, such as building sites or warehouses.&nbsp; However, it is also suited to those working around many people such as adventure centres, sports centres, leisure complexes, primary schools, secondary schools, colleges, universities and businesses.&nbsp;</span></p> <p><span style="font-size:14px">This course can be adapted to suit a particular audience, for example, Teaching and Support Staff, Dental and Veterinary Staff, Nursery and Pre School Staff etc.</span></p> <p><span style="font-size:14px"><u><strong>Subjects covered in this course include:</strong></u></span></p> <ul> <li>Emergency Actions</li> <li>Child, Baby &amp; Adult Basic Life Support (CPR)</li> <li>Child, Baby &amp; Adult Choking</li> <li>How to use a defib (AED)</li> <li>Head, Neck &amp; Back Injuries</li> <li>Unconsciousness &amp; Recovery Position</li> <li>Bleeding &amp; Burns</li> <li>Injuries to the Bones, Muscles &amp; Joints</li> <li>Seizures/Fitting</li> <li>First Aider Responsibilities</li> <li>Plus lots more!</li> </ul> <p><strong>All candidates must be 16yrs+ to complete this course.</strong></p> <p><span style="font-size:14px"><span style="color:rgb(60, 72, 88)">This course is HSE&nbsp;compliant.</span></span></p> <p><a href="https://emtrg.com/uploads/media/default/0001/48/cee350eb7d1e30f16f154f929acdbc160c319f98.pdf" style="color: rgb(7, 130, 193); box-sizing: border-box; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-bottom: 1px solid transparent; text-decoration-line: none; transition: all 0.15s ease 0s;"><img alt="" src="https://emtrg.com/uploads/media/default/0001/48/7994494215541f74e84a136baf2c04446b29d68f.jpeg" style="border:none; box-sizing:border-box; cursor:default; height:50px; margin:1px; outline:rgb(7, 130, 193) solid 1px; padding:1px; width:50px" />Download our brochure here</a></p> <p><span style="font-size:14px"><u><strong>Further information about this qualification</strong></u></span></p> <p><strong>Cost</strong>&nbsp;- &pound;75.00</p> <p><strong>Venue</strong>&nbsp;-&nbsp;Everett Rovers Football Club,&nbsp;<span style="color:rgb(34, 34, 34); font-size:14px">Dodd Rd, Watford, WD24 5FS</span></p> <p><span style="font-size:14px"><strong>Date/Timings</strong>&nbsp;- 14th July 2021, 930am to 330pm</span></p> <p><span style="font-size:14px"><strong>Course Delivery</strong>: This course is delivered over 6 hours face to face.</span></p> <p><span style="font-size:14px"><strong>Certification</strong>: Valid for 3 Years, certificated&nbsp;&nbsp;</span></p>', 'published' => false, 'price' => '7500', 'postage' => '0', 'stock' => '0', 'position' => null, 'createdAt' => object(DateTime), 'updatedAt' => object(DateTime), 'id' => '123', 'category_id' => '10', 'poster_id' => '47093'), array('fetchMode' => array('SCA\Commerce\Model\Product' => array('category' => '2'))))
    in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php at line 144  +
  8. at SimpleObjectHydrator ->hydrateRowData (array('name_1' => 'Emergency First Aid at Work 14th July 2021', 'slug_2' => 'emergency-first-aid-at-work-14th-july-2021', 'summary_3' => null, 'description_4' => '<p><span style="font-size:14px">This one-day Emergency First Aid at Work course will help you meet your regulatory requirements if your risk assessment indicates that first aid training covering emergency protocols only is sufficient for your workplace.&nbsp;&nbsp;This course is designed for people who want to receive training in emergency first aid.&nbsp; It is especially suited for nominated first aiders in smaller, low risk working environments, such as small offices.&nbsp; .</span></p> <p><span style="font-size:14px">This Emergency First Aid at Work 1&nbsp;Day&nbsp;course is HSE recognised and required for any business with up to 50&nbsp;employees and/or to assist staff holding the full First Aid at Work 3 Days qualification.&nbsp; Once qualified, holders of this Emergency First Aid at Work certificate can be used as a First Aider in the workplace in accordance with the Health and Safety at Work Act 1974.</span></p> <p><span style="font-size:14px"><u><strong>Who is this course for?</strong></u></span></p> <p><span style="font-size:14px">It is most suited to those working in high-risk environments, such as building sites or warehouses.&nbsp; However, it is also suited to those working around many people such as adventure centres, sports centres, leisure complexes, primary schools, secondary schools, colleges, universities and businesses.&nbsp;</span></p> <p><span style="font-size:14px">This course can be adapted to suit a particular audience, for example, Teaching and Support Staff, Dental and Veterinary Staff, Nursery and Pre School Staff etc.</span></p> <p><span style="font-size:14px"><u><strong>Subjects covered in this course include:</strong></u></span></p> <ul> <li>Emergency Actions</li> <li>Child, Baby &amp; Adult Basic Life Support (CPR)</li> <li>Child, Baby &amp; Adult Choking</li> <li>How to use a defib (AED)</li> <li>Head, Neck &amp; Back Injuries</li> <li>Unconsciousness &amp; Recovery Position</li> <li>Bleeding &amp; Burns</li> <li>Injuries to the Bones, Muscles &amp; Joints</li> <li>Seizures/Fitting</li> <li>First Aider Responsibilities</li> <li>Plus lots more!</li> </ul> <p><strong>All candidates must be 16yrs+ to complete this course.</strong></p> <p><span style="font-size:14px"><span style="color:rgb(60, 72, 88)">This course is HSE&nbsp;compliant.</span></span></p> <p><a href="https://emtrg.com/uploads/media/default/0001/48/cee350eb7d1e30f16f154f929acdbc160c319f98.pdf" style="color: rgb(7, 130, 193); box-sizing: border-box; background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border-bottom: 1px solid transparent; text-decoration-line: none; transition: all 0.15s ease 0s;"><img alt="" src="https://emtrg.com/uploads/media/default/0001/48/7994494215541f74e84a136baf2c04446b29d68f.jpeg" style="border:none; box-sizing:border-box; cursor:default; height:50px; margin:1px; outline:rgb(7, 130, 193) solid 1px; padding:1px; width:50px" />Download our brochure here</a></p> <p><span style="font-size:14px"><u><strong>Further information about this qualification</strong></u></span></p> <p><strong>Cost</strong>&nbsp;- &pound;75.00</p> <p><strong>Venue</strong>&nbsp;-&nbsp;Everett Rovers Football Club,&nbsp;<span style="color:rgb(34, 34, 34); font-size:14px">Dodd Rd, Watford, WD24 5FS</span></p> <p><span style="font-size:14px"><strong>Date/Timings</strong>&nbsp;- 14th July 2021, 930am to 330pm</span></p> <p><span style="font-size:14px"><strong>Course Delivery</strong>: This course is delivered over 6 hours face to face.</span></p> <p><span style="font-size:14px"><strong>Certification</strong>: Valid for 3 Years, certificated&nbsp;&nbsp;</span></p>', 'published_5' => '0', 'price_6' => '7500', 'postage_7' => '0', 'stock_8' => '0', 'position_9' => null, 'created_at_10' => '2020-11-02 14:27:50', 'updated_at_11' => '2021-03-05 13:26:52', 'id_12' => '123', 'category_id_13' => '10', 'poster_id_14' => '47093'), array())
    in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php at line 69  +
  9. at SimpleObjectHydrator ->hydrateAllData ()
    in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php at line 147  +
  10. at AbstractHydrator ->hydrateAll (object(PDOStatement), object(ResultSetMapping), array())
    in vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php at line 720  +
  11. at BasicEntityPersister ->load (array('slug' => 'emergency-first-aid-at-work-14th-july-2021'), null, null, array(), null, '1', null)
    in vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 196  +
  12. at EntityRepository ->findOneBy (array('slug' => 'emergency-first-aid-at-work-14th-july-2021'))
    in app/cache/prod/classes.php at line 7537  +
  13. at DoctrineParamConverter ->findOneBy ('SCA\Commerce\Model\Product', object(Request), array('entity_manager' => null, 'exclude' => array(), 'mapping' => array(), 'strip_null' => false))
    in app/cache/prod/classes.php at line 7439  +
  14. at DoctrineParamConverter ->apply (object(Request), object(ParamConverter))
    in app/cache/prod/classes.php at line 7628  +
  15. at ParamConverterManager ->applyConverter (object(Request), object(ParamConverter))
    in app/cache/prod/classes.php at line 7601  +
  16. at ParamConverterManager ->apply (object(Request), array('product' => object(ParamConverter)))
    in app/cache/prod/classes.php at line 7335  +
  17. at ParamConverterListener ->onKernelController (object(FilterControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
  18. at call_user_func (array(object(ParamConverterListener), 'onKernelController'), object(FilterControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
    in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php at line 61  +
  19. at WrappedListener ->__invoke (object(FilterControllerEvent), 'kernel.controller', object(ContainerAwareEventDispatcher))
  20. at call_user_func (object(WrappedListener), object(FilterControllerEvent), 'kernel.controller', object(ContainerAwareEventDispatcher))
    in app/cache/prod/classes.php at line 2290  +
  21. at EventDispatcher ->doDispatch (array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.controller', object(FilterControllerEvent))
    in app/cache/prod/classes.php at line 2216  +
  22. at EventDispatcher ->dispatch ('kernel.controller', object(FilterControllerEvent))
    in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 128  +
  23. at TraceableEventDispatcher ->dispatch ('kernel.controller', object(FilterControllerEvent))
    in app/bootstrap.php.cache at line 3153  +
  24. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3115  +
  25. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3269  +
  26. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2480  +
  27. at Kernel ->handle (object(Request), '1', true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 491  +
  28. at HttpCache ->forward (object(Request), true, object(Response))
    in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php at line 60  +
  29. at HttpCache ->forward (object(Request), true, object(Response))
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 393  +
  30. at HttpCache ->validate (object(Request), object(Response), true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 350  +
  31. at HttpCache ->lookup (object(Request), true)
    in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 210  +
  32. at HttpCache ->handle (object(Request))
    in web/app.php at line 27  +

Logs  -

Stack Trace (Plain Text)  +