Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save FelipeGangrel/be37e77d7ab819923f9a94aef0dd986a to your computer and use it in GitHub Desktop.
Save FelipeGangrel/be37e77d7ab819923f9a94aef0dd986a to your computer and use it in GitHub Desktop.
Erros do Doctrine
Error:
Doctrine\Common\Proxy\AbstractProxyFactory::getProxyDefinition(): Failed opening required '/tmp/__CG__AppTeam.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/bin')
auto generate (DOCTRINE_PROXY_AUTOGENERATE) set to true. However only do this in development! You don't want (and need) that overhead on production environments.
php artisan doctrine:generate:proxies when you deploy to production.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment