Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-16T18:33:56.803Z
Answers.Text: 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.
Answers.UserDisplayName: Jonny Turner
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-16T18:50:32.250Z
Answers.Text: Did you somehow end up downgrading Craft to < 3.1?
Answers.UserDisplayName: Brandon Kelly
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-16T18:53:43.020Z
Answers.Text: 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.
Answers.UserDisplayName: Jonny Turner
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-16T20:17:40.677Z
Answers.Text: 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.
Answers.UserDisplayName: Jonny Turner
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-16T21:45:35.117Z
Answers.Text: Down to one error. When running composer update, it fails with 'Setting unknown property: craft\redactor\Field::removeInlineStyles'. :(
Answers.UserDisplayName: Jonny Turner
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-16T18:28:26.127Z
Answers.LastActivityDate: 2019-07-16T18:28:26.127Z
Answers.UserDisplayName: Brandon Kelly
Body: <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>
  
Tags: <plugins>
Title: Urgent question - failed plugin and now getting internal server error
ThreadText: # 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'. :(  
  
  ---
  
  