Actions
Bug #102512
closedSyntaxError: Unexpected end of JSON input on installing extensions via ExtensionManager
Start date:
2023-11-24
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In case installing a extension, which contains code to stop the PHP request,
e.g. a die();
statement, the following JavaScript error occurs:
Uncaught (in promise) SyntaxError: Unexpected end of JSON input at repository.js
Using such statement is common as extensions previously contained checks like
defined('TYPO3_MODE') or die();
Because this variable does no longer exist, the request is stopped.
Actions