Exception detected!

Warning: file_put_contents(/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6606d42237cd27.28430813): 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.6606d42237cd27.28430813): 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.6606d42237cd27.28430813'))
  3. at file_put_contents ('/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6606d42237cd27.28430813', '<?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' => 'First Aid at Work Level 3 28-30 Jan 19', 'slug' => 'first-aid-at-work-level-3-28-30-jan-19', 'summary' => null, 'description' => '<p>This course shall be delivered at:&nbsp;<span style="color:rgb(33, 37, 41); font-size:16px">Langley Wharf 8,&nbsp;</span><span style="color:rgb(33, 37, 41); font-size:16px">Railway Terrace,&nbsp;</span><span style="color:rgb(33, 37, 41); font-size:16px">KINGS LANGLEY,&nbsp;</span><span style="color:rgb(33, 37, 41); font-size:16px">Hertfordshire,&nbsp;</span><span style="color:rgb(33, 37, 41); font-size:16px">WD48JE</span></p> <p><u><strong>Overview</strong></u></p> <p>Did you know that an estimated 611,000 workers in Britain sustained an injury at work in 2014/15?</p> <p>The Health and Safety (First Aid) Regulations 1981 require all employers to make arrangements to ensure their employees receive immediate attention if they are injured or taken ill at work. This includes carrying out a risk assessment, appointing a suitable amount of first aiders and providing appropriate first aid training. However, having the correct first aid provision in the workplace is not just a legal requirement, it is incredibly important for the safety of all members of staff!</p> <p><strong>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.</strong></p> <p><u><strong>Cost</strong></u>&nbsp;- &pound;225.00&nbsp;per person.</p> <p><u><strong>Course details</strong></u></p> <p>This qualification covers the following: Casualty Management, Unconsciousness, CPR, Choking, Shock, Allergies, Asthma, Bleeding, Fractures, Burns, Angina, Chest Injuries, Diabetes, Drowning, Epilepsy/Seizures, Eye Injuries, Fainting, Head Injuries, Heart Attack, Heat Exhaustion, Heat Stoke, Hyperventilation, Hypothermia, Recovery Positions, Resuscitation, Spinal Injury, Sprains &amp; Strains, Stroke and much more.</p> <p>Upon successful completion certification is valid for&nbsp;<strong>3 Years</strong>.</p> <p><u><strong>Timings</strong></u>&nbsp;&ndash; This is a 3 day course/18 hours. &nbsp;The course is delivered between 930am to 5pm, with appropriate breaks.</p> <p><u><strong>Ratios</strong></u>&nbsp;&ndash; We work on a ratio of 1:12 Candidates.</p> <p><u><strong>Administration</strong></u>&nbsp;&ndash; Each candidate is given a First Aid Made Easy Book to keep and certificated upon successful completion of the course.</p> <p><u><strong>Assessment</strong></u>&nbsp;&ndash; Each candidate must pass 2 x Theory Multiple Choice Question Papers, one on day 1 and one on Day 3 plus an ongoing practical assessment.</p> <p><u><strong>FREE</strong></u>&nbsp;&ndash; Epi Pen Training and Defibrillator Training is offered&nbsp;<strong>FREE</strong>&nbsp;with this booking to all candidates participating.</p> <p><img alt="" src="/uploads/media/default/0001/16/f6fde6213a71d3cc0b04e7f8ae91f7183424d6b7.png" style="cursor:default; height:218px; width:576px" /></p>', 'published' => false, 'price' => '22500', 'postage' => '0', 'stock' => '6', 'position' => null, 'createdAt' => object(DateTime), 'updatedAt' => object(DateTime), 'id' => '72', 'category_id' => '10', 'poster_id' => '28100'), 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 at Work Level 3 28-30 Jan 19', 'slug_2' => 'first-aid-at-work-level-3-28-30-jan-19', 'summary_3' => null, 'description_4' => '<p>This course shall be delivered at:&nbsp;<span style="color:rgb(33, 37, 41); font-size:16px">Langley Wharf 8,&nbsp;</span><span style="color:rgb(33, 37, 41); font-size:16px">Railway Terrace,&nbsp;</span><span style="color:rgb(33, 37, 41); font-size:16px">KINGS LANGLEY,&nbsp;</span><span style="color:rgb(33, 37, 41); font-size:16px">Hertfordshire,&nbsp;</span><span style="color:rgb(33, 37, 41); font-size:16px">WD48JE</span></p> <p><u><strong>Overview</strong></u></p> <p>Did you know that an estimated 611,000 workers in Britain sustained an injury at work in 2014/15?</p> <p>The Health and Safety (First Aid) Regulations 1981 require all employers to make arrangements to ensure their employees receive immediate attention if they are injured or taken ill at work. This includes carrying out a risk assessment, appointing a suitable amount of first aiders and providing appropriate first aid training. However, having the correct first aid provision in the workplace is not just a legal requirement, it is incredibly important for the safety of all members of staff!</p> <p><strong>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.</strong></p> <p><u><strong>Cost</strong></u>&nbsp;- &pound;225.00&nbsp;per person.</p> <p><u><strong>Course details</strong></u></p> <p>This qualification covers the following: Casualty Management, Unconsciousness, CPR, Choking, Shock, Allergies, Asthma, Bleeding, Fractures, Burns, Angina, Chest Injuries, Diabetes, Drowning, Epilepsy/Seizures, Eye Injuries, Fainting, Head Injuries, Heart Attack, Heat Exhaustion, Heat Stoke, Hyperventilation, Hypothermia, Recovery Positions, Resuscitation, Spinal Injury, Sprains &amp; Strains, Stroke and much more.</p> <p>Upon successful completion certification is valid for&nbsp;<strong>3 Years</strong>.</p> <p><u><strong>Timings</strong></u>&nbsp;&ndash; This is a 3 day course/18 hours. &nbsp;The course is delivered between 930am to 5pm, with appropriate breaks.</p> <p><u><strong>Ratios</strong></u>&nbsp;&ndash; We work on a ratio of 1:12 Candidates.</p> <p><u><strong>Administration</strong></u>&nbsp;&ndash; Each candidate is given a First Aid Made Easy Book to keep and certificated upon successful completion of the course.</p> <p><u><strong>Assessment</strong></u>&nbsp;&ndash; Each candidate must pass 2 x Theory Multiple Choice Question Papers, one on day 1 and one on Day 3 plus an ongoing practical assessment.</p> <p><u><strong>FREE</strong></u>&nbsp;&ndash; Epi Pen Training and Defibrillator Training is offered&nbsp;<strong>FREE</strong>&nbsp;with this booking to all candidates participating.</p> <p><img alt="" src="/uploads/media/default/0001/16/f6fde6213a71d3cc0b04e7f8ae91f7183424d6b7.png" style="cursor:default; height:218px; width:576px" /></p>', 'published_5' => '0', 'price_6' => '22500', 'postage_7' => '0', 'stock_8' => '6', 'position_9' => null, 'created_at_10' => '2018-11-29 15:12:34', 'updated_at_11' => '2018-12-14 15:53:39', 'id_12' => '72', 'category_id_13' => '10', 'poster_id_14' => '28100'), 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-at-work-level-3-28-30-jan-19'), 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-at-work-level-3-28-30-jan-19'))
    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)  +