Exception detected!

Warning: file_put_contents(/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6605c85024b4b1.98980083): 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.6605c85024b4b1.98980083): 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.6605c85024b4b1.98980083'))
  3. at file_put_contents ('/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6605c85024b4b1.98980083', '<?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' => '3'))
    in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 2695  +
  7. at UnitOfWork ->createEntity ('SCA\Commerce\Model\Product', array('name' => 'First Aid Leader in Schools', 'slug' => 'first-aid-leader-in-schools', 'summary' => null, 'description' => '<p>From September 2020 all primary and secondary schools in England must teach first aid skills to their pupils as part of the school curriculum.</p> <p>Now is the perfect time to enrol your key staff on this 1 day (6 hour) First Aid Leader in Schools course. &nbsp;This course will initially qualify your staff in Primary and Secondary First Aid including CPR and Defibrillator (AED) use, and then arm your staff with the confidence, lesson plans and knowledge needed to teach your pupils first aid.&nbsp;</p> <p><strong><u>Suitable for</u></strong></p> <p>This course is perfect for:</p> <ul> <li>School Teachers</li> <li>Teaching Assistants</li> <li>Support staff</li> </ul> <p>This course is suitable for anyone needing to teach pupils in line with the latest government guidelines to teaching first aid in schools as part of the curriculum.</p> <p><strong><u>What&#39;s&nbsp;covered</u></strong></p> <p>Through a multi-media approach of independent study, first aid training, resources and classroom practical leading sessions, your staff will learn to conduct first aid training covering the school curriculum guidelines.</p> <ol> <li>Part 1 - Self study/online learning &ndash; 3 hours (completed before attending the face-to-face training course).</li> <li>Part 2 - EFR Primary and Secondary Care plus CPR &amp; AED qualification &ndash; 3 hours</li> <li>Part 3 - Practical leading sessions &ndash; 3 hours</li> </ol> <p><strong><u>Need to know</u></strong></p> <ul> <li>School Curriculum Compliant (England)</li> <li>Each candidate will acquire a First Aid qualification in EFR Primary and Secondary Care + AED and First Aid Leader in Schools qualification</li> <li>The First Aid Leader in Schools qualification shall remain valid whilst the candidate&rsquo;s first aid qualification remains valid</li> <li>Progress to a fully qualified First Aid Instructor</li> </ul> <p><strong><u>Costs for the First Aid Leader in Schools Course</u></strong></p> <p><strong><span style="font-size:22px">&pound;995</span></strong>&nbsp;for up to 4 candidates at your venue</p> <p><a href="/uploads/media/default/0001/48/1d9383450cceba1b3a8063d511720641b1d6d7ed.pdf" style="color: rgb(7, 130, 193); font-family: sans-serif, Arial, Verdana, &quot;Trebuchet MS&quot;; font-size: 13px; background-color: rgb(255, 255, 255);" target="_blank"><img alt="" src="/uploads/media/default/0001/48/7994494215541f74e84a136baf2c04446b29d68f.jpeg" style="border:none; cursor:default; height:50px; margin:1px; outline:rgb(7, 130, 193) solid 1px; padding:1px; width:50px" />Download our brochure here</a></p> <p><strong><u>What&rsquo;s next</u></strong></p> <p>You could become a &ldquo;First Aid Instructor&rdquo; under the umbrella of an awarding body, &ldquo;Emergency First Response (EFR)&rdquo;, with the ability to train and qualify adults and children in:</p> <ul> <li>Primary Care,&nbsp;Secondary Care,&nbsp;Paediatric First Aid,&nbsp;CPR &amp; AED and HSE approved First Aid in the Workplace courses.&nbsp;</li> </ul> <p>&nbsp;</p>', 'published' => false, 'price' => '99500', 'postage' => '0', 'stock' => '0', 'position' => null, 'createdAt' => object(DateTime), 'updatedAt' => object(DateTime), 'id' => '137', 'category_id' => '3', 'poster_id' => '47328'), 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' => 'First Aid Leader in Schools', 'slug_2' => 'first-aid-leader-in-schools', 'summary_3' => null, 'description_4' => '<p>From September 2020 all primary and secondary schools in England must teach first aid skills to their pupils as part of the school curriculum.</p> <p>Now is the perfect time to enrol your key staff on this 1 day (6 hour) First Aid Leader in Schools course. &nbsp;This course will initially qualify your staff in Primary and Secondary First Aid including CPR and Defibrillator (AED) use, and then arm your staff with the confidence, lesson plans and knowledge needed to teach your pupils first aid.&nbsp;</p> <p><strong><u>Suitable for</u></strong></p> <p>This course is perfect for:</p> <ul> <li>School Teachers</li> <li>Teaching Assistants</li> <li>Support staff</li> </ul> <p>This course is suitable for anyone needing to teach pupils in line with the latest government guidelines to teaching first aid in schools as part of the curriculum.</p> <p><strong><u>What&#39;s&nbsp;covered</u></strong></p> <p>Through a multi-media approach of independent study, first aid training, resources and classroom practical leading sessions, your staff will learn to conduct first aid training covering the school curriculum guidelines.</p> <ol> <li>Part 1 - Self study/online learning &ndash; 3 hours (completed before attending the face-to-face training course).</li> <li>Part 2 - EFR Primary and Secondary Care plus CPR &amp; AED qualification &ndash; 3 hours</li> <li>Part 3 - Practical leading sessions &ndash; 3 hours</li> </ol> <p><strong><u>Need to know</u></strong></p> <ul> <li>School Curriculum Compliant (England)</li> <li>Each candidate will acquire a First Aid qualification in EFR Primary and Secondary Care + AED and First Aid Leader in Schools qualification</li> <li>The First Aid Leader in Schools qualification shall remain valid whilst the candidate&rsquo;s first aid qualification remains valid</li> <li>Progress to a fully qualified First Aid Instructor</li> </ul> <p><strong><u>Costs for the First Aid Leader in Schools Course</u></strong></p> <p><strong><span style="font-size:22px">&pound;995</span></strong>&nbsp;for up to 4 candidates at your venue</p> <p><a href="/uploads/media/default/0001/48/1d9383450cceba1b3a8063d511720641b1d6d7ed.pdf" style="color: rgb(7, 130, 193); font-family: sans-serif, Arial, Verdana, &quot;Trebuchet MS&quot;; font-size: 13px; background-color: rgb(255, 255, 255);" target="_blank"><img alt="" src="/uploads/media/default/0001/48/7994494215541f74e84a136baf2c04446b29d68f.jpeg" style="border:none; cursor:default; height:50px; margin:1px; outline:rgb(7, 130, 193) solid 1px; padding:1px; width:50px" />Download our brochure here</a></p> <p><strong><u>What&rsquo;s next</u></strong></p> <p>You could become a &ldquo;First Aid Instructor&rdquo; under the umbrella of an awarding body, &ldquo;Emergency First Response (EFR)&rdquo;, with the ability to train and qualify adults and children in:</p> <ul> <li>Primary Care,&nbsp;Secondary Care,&nbsp;Paediatric First Aid,&nbsp;CPR &amp; AED and HSE approved First Aid in the Workplace courses.&nbsp;</li> </ul> <p>&nbsp;</p>', 'published_5' => '0', 'price_6' => '99500', 'postage_7' => '0', 'stock_8' => '0', 'position_9' => null, 'created_at_10' => '2020-11-12 16:12:06', 'updated_at_11' => '2022-03-30 09:40:08', 'id_12' => '137', 'category_id_13' => '3', 'poster_id_14' => '47328'), 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' => 'first-aid-leader-in-schools'), null, null, array(), null, '1', null)
    in vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 196  +
  12. at EntityRepository ->findOneBy (array('slug' => 'first-aid-leader-in-schools'))
    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)  +