# Doctrine models of Attributes causing cache issue.

**URL:** https://forum.shopware.com/t/doctrine-models-of-attributes-causing-cache-issue/62750
**Category:** International (English Only)
**Tags:** programming
**Created:** [2. November 2019 um 05:56 UTC](https://forum.shopware.com/t/doctrine-models-of-attributes-causing-cache-issue/62750 "2019-11-02T05:56:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ronaksolanki10](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@ronaksolanki10](https://forum.shopware.com/u/ronaksolanki10)
#### Post date: [2. November 2019 um 05:56 UTC](https://forum.shopware.com/t/doctrine-models-of-attributes-causing-cache-issue/62750/1 "2019-11-02T05:56:48Z")

</div>

Hello, Thank you in advance.

I just set up the new Shopware in my local system, I have also posted the question like below, but this is the fully described issue.

When I am trying to clear the cache or even executing the frontend URL, it gives an error.like&nbsp; **Parse error** : syntax error, unexpected ‚;‘, expecting identifier (T\_STRING) or variable (T\_VARIABLE) or ‚{‘ or ‚$‘ in&nbsp; **/opt/lampp/htdocs/shopware\_demo/var/cache/production\_201909250854/doctrine/attributes/Site.php** &nbsp;on line&nbsp; **167,** where&nbsp;&nbsp;var/cache/production\_201909250854/doctrine/attributes folder contains cached doctrine attributes model, while i checked the same folder in my another setup, there is no issue.

---

<div class="post-metadata">

### Author: ![odessite](https://avatars.discourse-cdn.com/v4/letter/o/f05b48/32.png) [@odessite](https://forum.shopware.com/u/odessite)
#### Post date: [25. Dezember 2019 um 12:36 UTC](https://forum.shopware.com/t/doctrine-models-of-attributes-causing-cache-issue/62750/2 "2019-12-25T12:36:32Z")

</div>

It’s looks like your server had no enough sources(RAM,max\_execution\_time) to generate all sources, try t increase variables in `php.ini` or in php script via `ini_set('variable','value')`

---

<div class="post-metadata">

### Author: ![ronaksolanki10](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@ronaksolanki10](https://forum.shopware.com/u/ronaksolanki10)
#### Post date: [26. Dezember 2019 um 08:07 UTC](https://forum.shopware.com/t/doctrine-models-of-attributes-causing-cache-issue/62750/3 "2019-12-26T08:07:06Z")

</div>

> [@odessite schrieb:](https://forum.shopware.com/profile/24694/odessite "odessite")
> 
> It’s looks like your server had no enough sources(RAM,max\_execution\_time) to generate all sources, try t increase variables in `php.ini` or in php script via `ini_set('variable','value')`
> 
> &nbsp;
> 
> Okay Thank you for your help, let me try your solutions
