Dever \ Output \ Exceptions
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zhongshi.zhongshiminan_main_config' doesn't exist Dever\Output\Exceptions thrown with message "SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zhongshi.zhongshiminan_main_config' doesn't exist" Stacktrace: #1 Dever\Output\Exceptions in /share/lib/php/dever/vendor/dever-main/framework/src/Dever/Output/Debug.php:356 #0 Dever\Data\Model:__call in /www/zhongshiminan/main/src/Data.php:89
Stack frames (2):
1 Dever\Output\Exceptions
…/­vendor/­dever-main/­framework/­src/­Dever/­Output/­Debug.php356
0 Dever\Data\Model __call
/­www/­zhongshiminan/­main/­src/­Data.php89
/share/lib/php/dever/vendor/dever-main/framework/src/Dever/Output/Debug.php
            if (is_array($msg)) {
                $msg = array('array' => Export::format($msg));
            } else {
                $msg = array(gettype($msg) => $msg);
            }
            $handler[0]->addDataTable('Data', $msg);
            $handler[0]->addDataTable('Env', array('time' => self::time(), 'memory' => self::memory(), 'trace' => self::trace()));
 
            $handler[0]->setPageTitle($notice);
            throw new Exceptions($notice);
        } else {
            print_r($msg);
        }
        die;
    }
 
    /**
     * data
     */
    public static function data()
/www/zhongshiminan/main/src/Data.php
			}
		}

		return $menu;
	}

	# 获取基本配置
	public function config()
	{
		$config = Dever::db('main/config')->find();
		$config['link'] = Dever::url('home', 'main');
		$config['link_name'] = '首页';
		$config['menu'] = Dever::db('main/menu')->find(array('link' => 'home'));
		if ($config['menu']) {
			$config['menu']['link'] = Dever::url($config['menu']['link'], 'main');
			$config['link_name'] = $config['menu']['name'];
		}

		$lang_set = Dever::config('base')->lang_set;
		$lang_config = Dever::langConfig();

Environment & details:

Key Value
array
Array
(
    [sql] => SELECT * FROM `zhongshiminan_main_config` WHERE `state` = :state0  order by `id` desc 
    [error] => SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zhongshi.zhongshiminan_main_config' doesn't exist
)

Key Value
time [0.030600070953369S]
memory [2787.3515625KB]
trace /www/zhongshiminan/main/src/Data.php:89
Key Value
l article
id 3
empty
empty
empty
empty
Key Value
USER nobody
HOME /
HTTP_CONNECTION Keep-Alive
HTTP_HOST zhongshiminanholdings.com
HTTP_ACCEPT_ENCODING br,gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
DEVER_SERVER localhost
REDIRECT_STATUS 200
SERVER_NAME zhongshi.5dev.cn
SERVER_PORT 80
SERVER_ADDR 172.27.17.59
REMOTE_PORT 44232
REMOTE_ADDR 3.238.202.29
SERVER_SOFTWARE nginx/1.13.6
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/zhongshiminan
DOCUMENT_URI /index.php
REQUEST_URI /?l=article&id=3
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING l=article&id=3
SCRIPT_FILENAME /www/zhongshiminan//index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1731238880.7764
REQUEST_TIME 1731238880
empty
0. Whoops\Handler\PrettyPageHandler