<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>系统发生错误</title>
    <meta name="robots" content="noindex,nofollow" />
    <style>
        * {box-sizing:border-box;}
        .exception_body {
            margin: 0;
            padding: 0;
            width: 100vw;
            min-height: 100vh;
            overflow-y: auto;
            overflow-x: hidden;
            text-indent: 0;
            word-break: break-all;
        }
        .exception_layout {
            color: #333;
            font: 16px Verdana, "Helvetica Neue", helvetica, Arial, 'Microsoft YaHei', sans-serif;
            margin: 0;
            /*
            position: fixed;
            top: 0;
            left: 0;
            z-index: 999999999999;
            */
            background: #fff;
            padding: 20px;
            width: 100%;
            min-height: 100vh;
            overflow-y: auto;
            overflow-x: hidden;
        }
        .exception_layout h1 {
            font-size: 22px;
            margin-bottom: 15px;
        }
        .exception_layout ul {
            margin: 0;
        }
        .exception_layout .box {
            width: 100%;
            padding: 30px;
            font-size: 14px;
            margin-bottom: 30px;
            border-radius: 20px;
        }
        .exception_layout .err {
            line-height: 1.7em;
            background: rgba(255, 177, 0, 10%);
        }
        .exception_layout .code {
            line-height: 1.5em;
            color: #3b64b9;
            font-style: italic;
            margin-bottom: 20px;
            background: rgba(92, 119, 170, 10%);
        }
        .exception_layout ul {
            margin: 0;
        }
        .exception_layout .line {
            color: red;
            border-radius: 20px;
            background: rgba(255, 0, 0, 10%);
        }
        .kl_layout_content {
            .exception_layout {
                position: unset;
                top: unset;
                left: unset;
                background: transparent;
                width: 100%;
                min-height: 100%;
                overflow: unset;
                padding: 0;
            }
        }
    </style>
</head>
<body class="exception_body">
    <div class="exception_layout">
        <h1>Error Warning</h1>
        <div class="box err">
            <ul>[type]: 1</ul>
            <ul>[file]: /home/wwwroot/lianshang.oniu.vip/vendor/oniu/framework/src/App.php</ul>
            <ul>[line]: 368</ul>
            <ul>[message]: Class "\app\apis\controller\Sitemap.xml" not found<br>Stack trace:</ul>
        </div>

        <h1>Code Segment</h1>
        <div class="box code"><ul><small>358</small> |&nbsp;&nbsp;&nbsp;&nbsp;......</ul><ul><small>359</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</ul><ul><small>360</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$contrlName = "\\app\\{$this->system->appName}\\controller\\" . $controllerClass;</ul><ul><small>361</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</ul><ul><small>362</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try {</ul><ul><small>363</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// 使用类缓存优化实例化</ul><ul><small>364</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static $controllerInstances = [];</ul><ul><small>365</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (isset($controllerInstances[$contrlName])) {</ul><ul><small>366</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$contrl = clone $controllerInstances[$contrlName];</ul><ul><small>367</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} else {</ul><ul class="line"><small>368</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$contrl = new $contrlName($this);</ul><ul><small>369</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$controllerInstances[$contrlName] = $contrl;</ul><ul><small>370</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</ul><ul><small>371</small> |</ul><ul><small>372</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// 方法名处理优化</ul><ul><small>373</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$methodName = $this->system->method;</ul><ul><small>374</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$methodNameLower = strtolower($methodName);</ul><ul><small>375</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$methodName = str_replace(['-', '.'], '_', $methodName);</ul><ul><small>376</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</ul><ul><small>377</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// 检查关键字</ul><ul><small>378</small> |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (in_array($methodNameLower, self::$reservedMethodNames)) {</ul></div>
    </div>
</body>
</html>
