<p>This seems unrelated to the Cache Flag plugin, and more likely due to some bad code in <code>config/app.php</code> (or <code>app.web.php</code>).</p>

<p>If you have either of those files, check what changes you’ve made to it/them recently.</p>

CC BY-SA 4.0
2019-07-16T18:33:56.803Z
Thanks for the quick reply! I've replaced that and now get 'Setting unknown property: craft\models\Info::config'. We did have a GC setting in there by setting garbage collection timeout.
Jonny Turner
CC BY-SA 4.0
2019-07-16T18:50:32.250Z
Did you somehow end up downgrading Craft to < 3.1?
Brandon Kelly
CC BY-SA 4.0
2019-07-16T18:53:43.020Z
I was on 3.1.23 I believe beforehand. Just ran install on cache flag, then go the internal server error. I ran composer to uninstall cache-flag and then ran composer update.
Jonny Turner
CC BY-SA 4.0
2019-07-16T20:17:40.677Z
I've managed to get it live, however, no plugins are showing and I can't upgrade / install any as I believe all the versions messed up whilst I ran composer update after removing the cache flag module. Do you know a work around this? Thanks again for the assistance, much appreciated.
Jonny Turner
CC BY-SA 4.0
2019-07-16T21:45:35.117Z
Down to one error. When running composer update, it fails with 'Setting unknown property: craft\redactor\Field::removeInlineStyles'. :(
Jonny Turner
CC BY-SA 4.0
2019-07-16T18:28:26.127Z
2019-07-16T18:28:26.127Z
Brandon Kelly
<p>Hope someone can help asap - we tried to install a plugin through craftcms 3 (Cache Flag) and now getting 'The configuration for the "gc" component must contain a "class" element.' </p>

<p>Does anyone know how to resolve this?</p>

<plugins>
Urgent question - failed plugin and now getting internal server error
# Urgent question - failed plugin and now getting internal server error

(Asked by: username_0 on 2019-07-16)

Hope someone can help asap - we tried to install a plugin through craftcms 3 (Cache Flag) and now getting 'The configuration for the "gc" component must contain a "class" element.'

Does anyone know how to resolve this?

**Tags:** plugins

---

## 1 answers

### Answer by username_1 on 2019-07-16. Score: 1

This seems unrelated to the Cache Flag plugin, and more likely due to some bad code in `config/app.php` (or `app.web.php`).

If you have either of those files, check what changes you’ve made to it/them recently.

> **Comments:**
> **username_0**: Thanks for the quick reply! I've replaced that and now get 'Setting unknown property: craft\models\Info::config'. We did have a GC setting in there by setting garbage collection timeout.  
> **username_1**: Did you somehow end up downgrading Craft to < 3.1?  
> **username_0**: I was on 3.1.23 I believe beforehand. Just ran install on cache flag, then go the internal server error. I ran composer to uninstall cache-flag and then ran composer update.  
> **username_0**: I've managed to get it live, however, no plugins are showing and I can't upgrade / install any as I believe all the versions messed up whilst I ran composer update after removing the cache flag module. Do you know a work around this? Thanks again for the assistance, much appreciated.  
> **username_0**: Down to one error. When running composer update, it fails with 'Setting unknown property: craft\redactor\Field::removeInlineStyles'. :(  

---

