Hi,

I have a Drupal 7 upgraded to 9 site working as expected. Today, I installed imce to integrate a way to upload and/or choose images from server. Installation was fine, but when I open "Open file from browser", imce opens but returns this error.

Hubo un error HTTP AJAX.
Ruta: /imce
Código de Resultado HTTP: 500
StatusText: 500 Service unavailable (with message)
ResponseText: El sitio web encontró un error inesperado. Vuelva a intentarlo más tarde.</br></br><em class="placeholder">InvalidArgumentException</em>: Malformed UTF-8 characters, possibly incorrectly encoded in <em class="placeholder">Symfony\Component\HttpFoundation\JsonResponse-&gt;setData()</em> (line <em class="placeholder">167</em> of <em class="placeholder">vendor/symfony/http-foundation/JsonResponse.php</em>).

Some idea how can be solved?

CommentFileSizeAuthor
5VqfKnLEuQ.png35.02 KBTheMigrator

Comments

TheMigrator created an issue. See original summary.

thalles’s picture

Hey @TheMigrator!
Do you still have this problem?

carolalind’s picture

Just had this problem on a site. The same error message as above. The problem was that the folder sites/default/files had a few images and folders containing the swedish characters åäö in the name.

As soon as those were deleted the error message went away. :)

thalles’s picture

Status: Active » Fixed

Thank you @carolalind!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.