Answers.Body: <p>This is caused by a bug that prevents users that configure multiple languages to use the <em>kcfinder</em> plugin. So check if there are more available languages are configured at https:////civicrm/admin/setting/localization?reset=1</p>
  <p><a href="https://i.sstatic.net/W47wC.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/W47wC.png" alt="enter image description here" /></a></p>
  <p>Restrict it to one, and try again.</p>
  <p>At the moment a patch is available at <a href="https://github.com/civicrm/civicrm-core/pull/19245" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/19245</a>. And the PR is accepted so in later versions of CiviCRM you should not see this.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-12-20T13:27:40.190Z
Answers.LastActivityDate: 2021-01-06T16:48:27.637Z
Answers.LastEditDate: 2021-01-06T16:48:27.637Z
Answers.UserDisplayName: Kainuk - CiviCooP
Body: <p>I want to add an image in an email newsletter. However when I try to use the <em>Browse Server</em> button like: <a href="https://i.sstatic.net/ivSPJ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ivSPJ.png" alt="enter image description here" /></a></p>
  <p>and unexpected error is thrown:</p>
  <p><a href="https://i.sstatic.net/Lk5nu.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Lk5nu.png" alt="enter image description here" /></a></p>
  <p>The used versions are CiviCRM 5.32.2 and Drupal 7.77</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-20T21:01:10.227Z
Comments.Text: Naturally, this is a bug. I created a issue on https://lab.civicrm.org/dev/core/-/issues/2263
Comments.UserDisplayName: Kainuk - CiviCooP
Tags: <drupal><ckeditor><images><upload><kcfinder>
Title: Browsing for images in the editor leads to an unexpected Error
ThreadText: # Browsing for images in the editor leads to an unexpected Error
  
  (Asked by: username_0 on 2020-12-20)
  
  I want to add an image in an email newsletter. However when I try to use the *Browse Server* button like: [![enter image description here](https://i.sstatic.net/ivSPJ.png)](https://i.sstatic.net/ivSPJ.png)
  
  and unexpected error is thrown:
  
  [![enter image description here](https://i.sstatic.net/Lk5nu.png)](https://i.sstatic.net/Lk5nu.png)
  
  The used versions are CiviCRM 5.32.2 and Drupal 7.77
  
  **Tags:** drupal, ckeditor, images, upload, kcfinder
  
  > **Comments:**
  > **username_0**: Naturally, this is a bug. I created a issue on https://lab.civicrm.org/dev/core/-/issues/2263  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-12-20. Score: 2 | Accepted answer
  
  This is caused by a bug that prevents users that configure multiple languages to use the *kcfinder* plugin. So check if there are more available languages are configured at https:////civicrm/admin/setting/localization?reset=1
  
  [![enter image description here](https://i.sstatic.net/W47wC.png)](https://i.sstatic.net/W47wC.png)
  
  Restrict it to one, and try again.
  
  At the moment a patch is available at <https://github.com/civicrm/civicrm-core/pull/19245>. And the PR is accepted so in later versions of CiviCRM you should not see this.
  
  
  ---
  
  