typecho/typecho · error · Typecho\Plugin\Exception

404

404

Error message

页面不存在

What it means

Error "页面不存在" thrown in typecho/typecho.

Source

Thrown at admin/extending.php:9

<?php

include 'common.php';

$panel = $request->get('panel');
$panelTable = $options->panelTable;

if (!isset($panelTable['file']) || !in_array(urlencode($panel), $panelTable['file'])) {
    throw new \Typecho\Plugin\Exception(_t('页面不存在'), 404);
}

[$pluginName, $file] = explode('/', trim($panel, '/'), 2);

require_once $options->pluginDir($pluginName) . '/' . $file;

View on GitHub (pinned to 56f4c6f339)

When it happens

Trigger: Thrown at admin/extending.php:9 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of typecho/typecho@56f4c6f339 (2026-08-21). Data as JSON: /api/errors/f168e344c0335654. Report an issue: GitHub.