Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.
Please keep in mind:
Support response
Support checklist
register-handlers code: try {
$debug = $_ENV['CHEVERETO_TAG'] ?? '' === 'dev'
|| (getSetting('debug_errors') && Login::isAdmin());
} catch (Throwable) {
$debug = false;
}
try {
$debugLevel = Config::system()->debugLevel();
} catch (Throwable) {
$debugLevel = (int) ($_ENV['CHEVERETO_DEBUG_LEVEL'] ?? 1);
}
$docPublic = new HtmlDocument(
$handler->withIsDebug(
in_array($debugLevel, [2, 3]) || $debug
)
);


If the system is not logging the error it could be because the error was prematurely caught (it never arrived the handlers)
perhaps your log device stopped working. As you may see, the code reacts to log levels 2,3 OR admin debug flag.
app/legacy/routes/json.php$throwableHandler = throwableHandler($e);
writers()->error()->write(
(new PlainDocument($throwableHandler))
->__toString() . "\n"
);
json.php writes an error to the error stream regardless of the debug configuration. It should always log, no matter the debug level or debug errors config.php://stderr (STDERR), where that writes depends on your server. Perhaps you are just checking on the wrong place.php://stderr.