Bug #90121

Editor with syntax highlighting (t3editor) - Malformed UTF-8 characters ERROR

Added by Rene Tobias Tobias 6 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-01-15
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hey i get this weird error when i click on "Edit page properties", immediately after that error is writen in error log:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1504972434: Unable to encode data to JSON in TYPO3\CMS\Core\Http\JsonResponse: Malformed UTF-8 characters, possibly incorrectly encoded | InvalidArgumentException thrown in file /var/www/typo3/typo3_source/typo3_src-9.5.13/typo3/sysext/core/Classes/Http/JsonResponse.php in line 105. Requested URL: https://www.domain.si/typo3/index.php?route=%%2Fajax%%2Ft3editor%%2Fcodecompletion%%2Fload-templates&token=--AnonymizedToken--&pageId=58

Full error trace in attachment.

I get this on multiple TYPO3 sites

TYPO3 9.5.13
PHP 7.2

error.txt View (6.71 KB) Rene Tobias Tobias, 2020-01-15 15:28

History

#1 Updated by Rene Tobias Tobias 6 months ago

When i disable t3editor extension everything works fine.

#2 Updated by Peter Linzenkirchner 5 months ago

I can confirm this: TYPO3 9.5.13, every time when saving a typoscript window with active t3editor.

#3 Updated by Bastian Bringenberg 5 months ago

  • Project changed from forge.typo3.org to TYPO3 Core
  • TYPO3 Version set to 9

Moved to correct project.
Set correct TYPO3 Version.

#4 Updated by Riccardo De Contardi 4 months ago

I tried the following test with 9.5.14 (php 7.2.21)

- edit a page
- go to resource tab and write something in the TSConfig field (syntax highlighter is active)
- save, close

Results:

No error reported in System > Logs

Is a different test necessary?

#5 Updated by Rene Tobias Tobias 4 months ago

I can confirm that with TYPO3 9.5.14 problem disappeared. When i switch back to 9.5.13 it appears again.

#6 Updated by Riccardo De Contardi 4 months ago

@Rene Tobias Tobias thank you for your quick reply; may I close your issue or is there still something to do here?

#7 Updated by Rene Tobias Tobias 4 months ago

That's it. Thank you!

#8 Updated by Riccardo De Contardi 4 months ago

  • Status changed from New to Closed

I close this issue as requested by the reporter; if you think that this is the wrong decision or experience the issue again, please reopen it or open a new issue with a reference to this one.

Thank you.

Also available in: Atom PDF