Exception detected!

Warning: file_put_contents(/home/darassma/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__AppBundleEntityPays.php.6606598b137b96.84911766): failed to open stream: Disk quota exceeded

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/darassma/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__AppBundleEntityPays.php.6606598b137b96.84911766): failed to open stream: Disk quota exceeded', '/home/darassma/public_html/vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php', '304', array('class' => object(ClassMetadata), 'fileName' => '/home/darassma/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__AppBundleEntityPays.php', 'placeholderMatches' => array('' => 'namespace', '' => 'proxyShortClassName', '' => 'className', '' => 'baseProxyInterface', '' => 'lazyPropertiesDefaults', '' => 'additionalProperties', '' => 'constructorImpl', '' => 'magicGet', '' => 'magicSet', '' => 'magicIsset', '' => 'sleepImpl', '' => 'wakeupImpl', '' => 'cloneImpl', '' => 'methods'), 'placeholders' => array('' => 'Proxies\__CG__\AppBundle\Entity', '' => 'Pays', '' => 'AppBundle\Entity\Pays', '' => '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 ['__isInitialized__', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'id', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nom', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nomFr', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'enabled']; } return ['__isInitialized__', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'id', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nom', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nomFr', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'enabled']; }', '' => ' /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Pays $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', []); }', '' => ' /** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); return parent::getId(); } /** * {@inheritDoc} */ public function setNom($nom) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNom', [$nom]); return parent::setNom($nom); } /** * {@inheritDoc} */ public function getNom() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNom', []); return parent::getNom(); } /** * {@inheritDoc} */ public function setNomFr($nomFr) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNomFr', [$nomFr]); return parent::setNomFr($nomFr); } /** * {@inheritDoc} */ public function getNomFr() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNomFr', []); return parent::getNomFr(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', [$enabled]); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', []); return parent::getEnabled(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []); return parent::__toString(); } '), 'placeholder' => ' /** * {@inheritDoc} */ public function getId() { if ($this->__isInitialized__ === false) { return (int) parent::getId(); } $this->__initializer__ && $this->__initializer__->__invoke($this, 'getId', []); return parent::getId(); } /** * {@inheritDoc} */ public function setNom($nom) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNom', [$nom]); return parent::setNom($nom); } /** * {@inheritDoc} */ public function getNom() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNom', []); return parent::getNom(); } /** * {@inheritDoc} */ public function setNomFr($nomFr) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNomFr', [$nomFr]); return parent::setNomFr($nomFr); } /** * {@inheritDoc} */ public function getNomFr() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNomFr', []); return parent::getNomFr(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', [$enabled]); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', []); return parent::getEnabled(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []); return parent::__toString(); } ', 'name' => 'methods', 'this' => object(ProxyGenerator), 'proxyCode' => '<?php namespace Proxies\__CG__\AppBundle\Entity; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class Pays extends \AppBundle\Entity\Pays 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 = []; /** * @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 ['__isInitialized__', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'id', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nom', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nomFr', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'enabled']; } return ['__isInitialized__', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'id', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nom', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nomFr', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'enabled']; } /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Pays $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', []); } /** * Forces initialization of the proxy */ public function __load() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); } /** * {@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', []); return parent::getId(); } /** * {@inheritDoc} */ public function setNom($nom) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNom', [$nom]); return parent::setNom($nom); } /** * {@inheritDoc} */ public function getNom() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNom', []); return parent::getNom(); } /** * {@inheritDoc} */ public function setNomFr($nomFr) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNomFr', [$nomFr]); return parent::setNomFr($nomFr); } /** * {@inheritDoc} */ public function getNomFr() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNomFr', []); return parent::getNomFr(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', [$enabled]); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', []); return parent::getEnabled(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []); return parent::__toString(); } } ', 'parentDirectory' => '/home/darassma/public_html/app/cache/prod/doctrine/orm/Proxies', 'tmpFileName' => '/home/darassma/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__AppBundleEntityPays.php.6606598b137b96.84911766'))
  3. at file_put_contents ('/home/darassma/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__AppBundleEntityPays.php.6606598b137b96.84911766', '<?php namespace Proxies\__CG__\AppBundle\Entity; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class Pays extends \AppBundle\Entity\Pays 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 = []; /** * @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 ['__isInitialized__', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'id', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nom', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nomFr', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'enabled']; } return ['__isInitialized__', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'id', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nom', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'nomFr', '' . "\0" . 'AppBundle\\Entity\\Pays' . "\0" . 'enabled']; } /** * */ public function __wakeup() { if ( ! $this->__isInitialized__) { $this->__initializer__ = function (Pays $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', []); } /** * Forces initialization of the proxy */ public function __load() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__load', []); } /** * {@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', []); return parent::getId(); } /** * {@inheritDoc} */ public function setNom($nom) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNom', [$nom]); return parent::setNom($nom); } /** * {@inheritDoc} */ public function getNom() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNom', []); return parent::getNom(); } /** * {@inheritDoc} */ public function setNomFr($nomFr) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setNomFr', [$nomFr]); return parent::setNomFr($nomFr); } /** * {@inheritDoc} */ public function getNomFr() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getNomFr', []); return parent::getNomFr(); } /** * {@inheritDoc} */ public function setEnabled($enabled) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setEnabled', [$enabled]); return parent::setEnabled($enabled); } /** * {@inheritDoc} */ public function getEnabled() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getEnabled', []); return parent::getEnabled(); } /** * {@inheritDoc} */ public function __toString() { $this->__initializer__ && $this->__initializer__->__invoke($this, '__toString', []); return parent::__toString(); } } ')
    in vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php at line 304  +
  4. at ProxyGenerator ->generateProxyClass (object(ClassMetadata), '/home/darassma/public_html/app/cache/prod/doctrine/orm/Proxies/__CG__AppBundleEntityPays.php')
    in vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php at line 220  +
  5. at AbstractProxyFactory ->getProxyDefinition ('AppBundle\Entity\Pays')
    in vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php at line 119  +
  6. at AbstractProxyFactory ->getProxy ('AppBundle\Entity\Pays', array('id' => '1'))
    in vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 2707  +
  7. at UnitOfWork ->createEntity ('AppBundle\Entity\Auteur', array('id' => '160', 'nom' => 'مومن', 'prenom' => 'محمد', 'enabled' => true, 'presentation' => '<p>--</p>', 'observations' => '<p>--</p>', 'dateCreation' => object(DateTime), 'dateModification' => object(DateTime), 'deletedAt' => null, 'nomImage' => null, 'updatedAt' => null, 'pays_id' => '1', 'titre_academique_id' => '1'), array('fetchMode' => array('AppBundle\Entity\Auteur' => array('pays' => '2'))))
    in vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/SimpleObjectHydrator.php at line 147  +
  8. at SimpleObjectHydrator ->hydrateRowData (array('id_1' => '160', 'nom_2' => 'مومن', 'prenom_3' => 'محمد', 'enabled_4' => '1', 'presentation_5' => '<p>--</p>', 'observations_6' => '<p>--</p>', 'dateCreation_7' => '2018-01-10 15:12:36', 'dateModification_8' => '2018-01-10 15:12:36', 'deletedAt_9' => null, 'nomImage_10' => null, 'updatedAt_11' => null, 'pays_id_12' => '1', 'titre_academique_id_13' => '1'), 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('id' => '160'), null)
    in vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php at line 730  +
  12. at BasicEntityPersister ->loadById (array('id' => '160'))
    in vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php at line 462  +
  13. at EntityManager ->find ('AppBundle\Entity\Auteur', '160', null, null)
    in vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php at line 154  +
  14. at EntityRepository ->find ('160')
    in app/cache/prod/classes.php at line 7428  +
  15. at DoctrineParamConverter ->find ('AppBundle\Entity\Auteur', object(Request), array('entity_manager' => null, 'exclude' => array(), 'mapping' => array(), 'strip_null' => false), 'auteur')
    in app/cache/prod/classes.php at line 7398  +
  16. at DoctrineParamConverter ->apply (object(Request), object(ParamConverter))
    in app/cache/prod/classes.php at line 7588  +
  17. at ParamConverterManager ->applyConverter (object(Request), object(ParamConverter))
    in app/cache/prod/classes.php at line 7561  +
  18. at ParamConverterManager ->apply (object(Request), array('auteur' => object(ParamConverter)))
    in app/cache/prod/classes.php at line 7289  +
  19. at ParamConverterListener ->onKernelController (object(FilterControllerEvent), 'kernel.controller', object(TraceableEventDispatcher))
  20. 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  +
  21. at WrappedListener ->__invoke (object(FilterControllerEvent), 'kernel.controller', object(ContainerAwareEventDispatcher))
  22. at call_user_func (object(WrappedListener), object(FilterControllerEvent), 'kernel.controller', object(ContainerAwareEventDispatcher))
    in app/cache/prod/classes.php at line 1872  +
  23. at EventDispatcher ->doDispatch (array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.controller', object(FilterControllerEvent))
    in app/cache/prod/classes.php at line 1787  +
  24. at EventDispatcher ->dispatch ('kernel.controller', object(FilterControllerEvent))
    in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php at line 140  +
  25. at TraceableEventDispatcher ->dispatch ('kernel.controller', object(FilterControllerEvent))
    in app/bootstrap.php.cache at line 3244  +
  26. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3206  +
  27. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3360  +
  28. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2562  +
  29. at Kernel ->handle (object(Request))
    in web/app.php at line 28  +

Logs  -

Stack Trace (Plain Text)  +