Exception Occurred

An exception was thrown while processing your request.

Error Details:

Message: method not exists:app\index\controller\Error->comments()

File: C:\009945\thinkphp\library\think\route\dispatch\Module.php

Line: 126

Stack Trace:

[
    {
        "function": "think\\route\\dispatch\\{closure}",
        "class": "think\\route\\dispatch\\Module",
        "type": "->",
        "args": [
            {},
            {},
            null
        ]
    },
    {
        "file": "C:\\009945\\thinkphp\\library\\think\\Middleware.php",
        "line": 185,
        "function": "call_user_func_array",
        "args": [
            {},
            [
                {},
                {},
                null
            ]
        ]
    },
    {
        "function": "think\\{closure}",
        "class": "think\\Middleware",
        "type": "->",
        "args": [
            {}
        ]
    },
    {
        "file": "C:\\009945\\thinkphp\\library\\think\\Middleware.php",
        "line": 130,
        "function": "call_user_func",
        "args": [
            {},
            {}
        ]
    },
    {
        "file": "C:\\009945\\thinkphp\\library\\think\\route\\dispatch\\Module.php",
        "line": 136,
        "function": "dispatch",
        "class": "think\\Middleware",
        "type": "->",
        "args": [
            {},
            "controller"
        ]
    },
    {
        "file": "C:\\009945\\thinkphp\\library\\think\\route\\Dispatch.php",
        "line": 168,
        "function": "exec",
        "class": "think\\route\\dispatch\\Module",
        "type": "->",
        "args": []
    },
    {
        "file": "C:\\009945\\thinkphp\\library\\think\\App.php",
        "line": 432,
        "function": "run",
        "class": "think\\route\\Dispatch",
        "type": "->",
        "args": []
    },
    {
        "function": "think\\{closure}",
        "class": "think\\App",
        "type": "->",
        "args": [
            {},
            {},
            null
        ]
    },
    {
        "file": "C:\\009945\\thinkphp\\library\\think\\Middleware.php",
        "line": 185,
        "function": "call_user_func_array",
        "args": [
            {},
            [
                {},
                {},
                null
            ]
        ]
    },
    {
        "file": "C:\\009945\\application\\admin\\sys.php",
        "line": 148,
        "function": "think\\{closure}",
        "class": "think\\Middleware",
        "type": "->",
        "args": [
            {}
        ]
    },
    {
        "function": "{closure}",
        "args": [
            {},
            {},
            null
        ]
    },
    {
        "file": "C:\\009945\\thinkphp\\library\\think\\Middleware.php",
        "line": 185,
        "function": "call_user_func_array",
        "args": [
            {},
            [
                {},
                {},
                null
            ]
        ]
    },
    {
        "file": "C:\\009945\\vendor\\zoujingli\\think-library\\src\\common.php",
        "line": 247,
        "function": "think\\{closure}",
        "class": "think\\Middleware",
        "type": "->",
        "args": [
            {}
        ]
    },
    {
        "function": "{closure}",
        "args": [
            {},
            {},
            null
        ]
    },
    {
        "file": "C:\\009945\\thinkphp\\library\\think\\Middleware.php",
        "line": 185,
        "function": "call_user_func_array",
        "args": [
            {},
            [
                {},
                {},
                null
            ]
        ]
    },
    {
        "function": "think\\{closure}",
        "class": "think\\Middleware",
        "type": "->",
        "args": [
            {}
        ]
    },
    {
        "file": "C:\\009945\\thinkphp\\library\\think\\Middleware.php",
        "line": 130,
        "function": "call_user_func",
        "args": [
            {},
            {}
        ]
    },
    {
        "file": "C:\\009945\\thinkphp\\library\\think\\App.php",
        "line": 435,
        "function": "dispatch",
        "class": "think\\Middleware",
        "type": "->",
        "args": [
            {}
        ]
    },
    {
        "file": "C:\\009945\\public\\index.php",
        "line": 27,
        "function": "run",
        "class": "think\\App",
        "type": "->",
        "args": []
    }
]