Warning: file_put_contents(/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6605ccbb5049a2.25066297): failed to open stream: No space left on device
500 Internal Server Error - ContextErrorException
Stack Trace
-
in vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php at line 304
$tmpFileName = $fileName . '.' . uniqid('', true);
file_put_contents($tmpFileName, $proxyCode);
chmod($tmpFileName, 0664);
rename($tmpFileName, $fileName);
}
-
at
ErrorHandler
->handleError
('2', 'file_put_contents(/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6605ccbb5049a2.25066297): 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.6605ccbb5049a2.25066297')) -
at
file_put_contents
('/home/emtrgco/public_html/releases/20200528214001/app/cache/prod/doctrine/orm/Proxies/__CG__SCAClassificationModelCategory.php.6605ccbb5049a2.25066297', '<?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 -
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 -
at
AbstractProxyFactory
->getProxyDefinition
('SCA\Classification\Model\Category')
in vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php at line 119 -
at
AbstractProxyFactory
->getProxy
('SCA\Classification\Model\Category', array('id' => '1'))
in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 2695 -
at
UnitOfWork
->createEntity
('SCA\Commerce\Model\Product', array('name' => 'Safeguarding Children Level 1', 'slug' => 'safeguarding-children-level-1', 'summary' => 'Our Safeguarding Children Level 1 online course provides theoretical and case study based training for anyone that works or volunteers with children aged from birth to 16yrs.', 'description' => '<p>This Safeguarding Children Level 1 course will ideally suit Teaching Staff, Child minders, Play workers, Carers, Nursery staff, Sports staff, Police Officers and those needing an induction into Safeguarding Children.</p>
<p>Our Safeguarding Children Level 1 e-Learning course provides theoretical and case study based training for anyone that works or volunteers with children aged from birth to 16yrs. This course shall introduce you to the basic requirements of carrying out your role in safeguarding children or those just needing a Safeguarding Children Level 1 induction. This qualification provides an induction/general awareness of child protection and will help you to recognise and know what to do if you believe that a child is at risk.</p>
<p><u><strong>Further information about this qualification</strong></u></p>
<p><strong>Course Delivery</strong>: Online.</p>
<p><strong>Certification</strong>: Valid for 3 Years and Ofsted and local council recognised and is available to download and print once completed</p>
<p><strong>Duration</strong>: Approx. 2 hours to complete.</p>
<p><strong>Recognised by</strong>: Ofsted, ISI, ISA, HMIE, Estyn, Sports and Medical regulating bodies and childminding agencies.</p>
<p><strong>Progression</strong> - We would suggest the <a href="https://emtrg.com/product/safeguarding-children-level-2/" target="_blank">Safeguarding Children Level 2</a> or <a href="https://www.emtrg.com/product/safeguarding-children-level-3-designated-officer/" style="color: rgb(7, 130, 193); background-color: rgb(255, 255, 255);" target="_self">Safeguarding Children Level 3 Designated Officer DSL </a>course.</p>
<p><strong>FREE Updates</strong> - you are welcome to look back over the course modules for a further 12 months from your course completion date.</p>
<p><a href="https://vimeo.com/304374281" style="color: rgb(7, 130, 193); font-family: sans-serif, Arial, Verdana, "Trebuchet MS"; font-size: 13px; background-color: rgb(255, 255, 255);" target="_blank"><img alt="" src="/uploads/media/default/0001/31/9ad9e6e87447ad477c7470c419f7ad4d48035456.jpeg" style="border:none; cursor:default; height:118px; margin:1px; outline:rgb(7, 130, 193) solid 1px; padding:1px; width:209px" /></a> </p>
<p><u><strong>Bulk Discounts</strong></u></p>
<ul>
<li>10% discount on 10+ courses</li>
<li>15% discount on 25+ courses</li>
<li>20% discount on 50+ courses</li>
<li>25% discount on 100+ courses</li>
<li>30% discount on 250+ courses</li>
<li>35% discount on 500+ courses</li>
<li>40% discount on 1000+ courses</li>
</ul>
<p> </p>', 'published' => false, 'price' => '1200', 'postage' => '0', 'stock' => '0', 'position' => '4', 'createdAt' => object(DateTime), 'updatedAt' => object(DateTime), 'id' => '4', 'category_id' => '1', 'poster_id' => '29552'), array('fetchMode' => array('SCA\Commerce\Model\Product' => array('category' => '2'))))
in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php at line 144 -
at
SimpleObjectHydrator
->hydrateRowData
(array('name_1' => 'Safeguarding Children Level 1', 'slug_2' => 'safeguarding-children-level-1', 'summary_3' => 'Our Safeguarding Children Level 1 online course provides theoretical and case study based training for anyone that works or volunteers with children aged from birth to 16yrs.', 'description_4' => '<p>This Safeguarding Children Level 1 course will ideally suit Teaching Staff, Child minders, Play workers, Carers, Nursery staff, Sports staff, Police Officers and those needing an induction into Safeguarding Children.</p>
<p>Our Safeguarding Children Level 1 e-Learning course provides theoretical and case study based training for anyone that works or volunteers with children aged from birth to 16yrs. This course shall introduce you to the basic requirements of carrying out your role in safeguarding children or those just needing a Safeguarding Children Level 1 induction. This qualification provides an induction/general awareness of child protection and will help you to recognise and know what to do if you believe that a child is at risk.</p>
<p><u><strong>Further information about this qualification</strong></u></p>
<p><strong>Course Delivery</strong>: Online.</p>
<p><strong>Certification</strong>: Valid for 3 Years and Ofsted and local council recognised and is available to download and print once completed</p>
<p><strong>Duration</strong>: Approx. 2 hours to complete.</p>
<p><strong>Recognised by</strong>: Ofsted, ISI, ISA, HMIE, Estyn, Sports and Medical regulating bodies and childminding agencies.</p>
<p><strong>Progression</strong> - We would suggest the <a href="https://emtrg.com/product/safeguarding-children-level-2/" target="_blank">Safeguarding Children Level 2</a> or <a href="https://www.emtrg.com/product/safeguarding-children-level-3-designated-officer/" style="color: rgb(7, 130, 193); background-color: rgb(255, 255, 255);" target="_self">Safeguarding Children Level 3 Designated Officer DSL </a>course.</p>
<p><strong>FREE Updates</strong> - you are welcome to look back over the course modules for a further 12 months from your course completion date.</p>
<p><a href="https://vimeo.com/304374281" style="color: rgb(7, 130, 193); font-family: sans-serif, Arial, Verdana, "Trebuchet MS"; font-size: 13px; background-color: rgb(255, 255, 255);" target="_blank"><img alt="" src="/uploads/media/default/0001/31/9ad9e6e87447ad477c7470c419f7ad4d48035456.jpeg" style="border:none; cursor:default; height:118px; margin:1px; outline:rgb(7, 130, 193) solid 1px; padding:1px; width:209px" /></a> </p>
<p><u><strong>Bulk Discounts</strong></u></p>
<ul>
<li>10% discount on 10+ courses</li>
<li>15% discount on 25+ courses</li>
<li>20% discount on 50+ courses</li>
<li>25% discount on 100+ courses</li>
<li>30% discount on 250+ courses</li>
<li>35% discount on 500+ courses</li>
<li>40% discount on 1000+ courses</li>
</ul>
<p> </p>', 'published_5' => '0', 'price_6' => '1200', 'postage_7' => '0', 'stock_8' => '0', 'position_9' => '4', 'created_at_10' => '0000-00-00 00:00:00', 'updated_at_11' => '2022-09-29 17:06:45', 'id_12' => '4', 'category_id_13' => '1', 'poster_id_14' => '29552'), array())
in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php at line 69 -
at
SimpleObjectHydrator
->hydrateAllData
()
in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php at line 147 -
at
AbstractHydrator
->hydrateAll
(object(PDOStatement), object(ResultSetMapping), array())
in vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php at line 720 -
at
BasicEntityPersister
->load
(array('slug' => 'safeguarding-children-level-1'), null, null, array(), null, '1', null)
in vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 196 -
at
EntityRepository
->findOneBy
(array('slug' => 'safeguarding-children-level-1'))
in app/cache/prod/classes.php at line 7537 -
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 -
at
DoctrineParamConverter
->apply
(object(Request), object(ParamConverter))
in app/cache/prod/classes.php at line 7628 -
at
ParamConverterManager
->applyConverter
(object(Request), object(ParamConverter))
in app/cache/prod/classes.php at line 7601 -
at
ParamConverterManager
->apply
(object(Request), array('product' => object(ParamConverter)))
in app/cache/prod/classes.php at line 7335 - at ParamConverterListener ->onKernelController (object(FilterControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
-
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 - at WrappedListener ->__invoke (object(FilterControllerEvent), 'kernel.controller', object(ContainerAwareEventDispatcher))
-
at
call_user_func
(object(WrappedListener), object(FilterControllerEvent), 'kernel.controller', object(ContainerAwareEventDispatcher))
in app/cache/prod/classes.php at line 2290 -
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 -
at
EventDispatcher
->dispatch
('kernel.controller', object(FilterControllerEvent))
in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 128 -
at
TraceableEventDispatcher
->dispatch
('kernel.controller', object(FilterControllerEvent))
in app/bootstrap.php.cache at line 3153 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3115 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3269 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2480 -
at
Kernel
->handle
(object(Request), '1', true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 491 -
at
HttpCache
->forward
(object(Request), true, object(Response))
in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php at line 60 -
at
HttpCache
->forward
(object(Request), true, object(Response))
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 393 -
at
HttpCache
->validate
(object(Request), object(Response), true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 350 -
at
HttpCache
->lookup
(object(Request), true)
in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 210 -
at
HttpCache
->handle
(object(Request))
in web/app.php at line 27