[2] ErrorException in 5c4fa4c67267b10cc63d49f03c2f0f49.php line 11

extract() expects parameter 1 to be array, null given

  1. <!doctype html>
  2. <html>
  3. <head>
  4. <?php $id=isset($id)?$id:0;
  5. $module_where="1=1";
  6. $id="$id";
  7. $where="id=$id";
  8. $where=empty($id)?$module_where:"id=$id";
  9. $data=Db('product')->where($where)->find();
  10. extract($data);
  11. ?>
  12. </show>
  13. <meta charset="utf-8">
  14. <title><?php echo $title; ?>-产品中心-<?php echo $site_name; ?></title>
  15. <meta name="keywords" content="<?php echo $title; ?>-产品中心-<?php echo $site_name; ?>" />
  16. <meta name="description" content="<?php echo $title; ?>-产品中心-<?php echo $site_name; ?>" />
  17. <link rel="stylesheet" href="Css/public.css" />
  18. <script type="text/javascript" src="Scripts/jquery1.9.1.js" ></script>
  19. <script type="text/javascript" src="Scripts/basic.js" ></script>

Call Stack

  1. in 5c4fa4c67267b10cc63d49f03c2f0f49.php line 11
  2. at Error::appError(2, 'extract() expects pa...', '/home/wwwroot/sczhen...', 11, ['cacheFile' => '/home/wwwroot/sczhen...', 'vars' => ['modulename' => 'product', 'actionname' => 'show', 's' => '/Home/product/show.h...', ...], 'modulename' => 'product', ...])
  3. at extract(null) in 5c4fa4c67267b10cc63d49f03c2f0f49.php line 11
  4. at include('/home/wwwroot/sczhen...') in File.php line 50
  5. at File->read('/home/wwwroot/sczhen...', ['modulename' => 'product', 'actionname' => 'show', 's' => '/Home/product/show.h...', ...]) in Template.php line 196
  6. at Template->fetch('Theme/Home/green/pro...', ['modulename' => 'product', 'actionname' => 'show', 's' => '/Home/product/show.h...', ...], []) in Think.php line 84
  7. at Think->fetch('', ['modulename' => 'product', 'actionname' => 'show', 's' => '/Home/product/show.h...', ...], []) in View.php line 159
  8. at View->fetch('', [], []) in View.php line 36
  9. at View->output('') in Response.php line 305
  10. at Response->getContent() in Response.php line 94
  11. at Response->send() in start.php line 18
  12. at require('/home/wwwroot/sczhen...') in index.php line 21

Exception Datas

Error Context
cacheFile /home/wwwroot/sczhengda.com/RunTime/temp/5c4fa4c67267b10cc63d49f03c2f0f49.php
vars { "modulename": "product", "actionname": "show", "s": "\/Home\/product\/show.html", "random": "0.18521493251866183", "site_weburl": "http:\/\/www.sczhengda.com\/", "site_name": "\u8054\u7cfb\u6211\u4eec", "site_title": "\u679c\u535a\u4e1c\u65b9\u516c\u53f8\u5ba2\u670d\u7535\u8bdd19908888882", "site_keyword": "\u679c\u535a\u5ba2\u670d\uff0c\u679c\u535a\u4e1c\u65b9\u5ba2\u670d\uff0c\u679c\u535a\u4e1c\u65b9\u516c\u53f8\u5ba2\u670d\u3002", "site_description": "\u679c\u535a\u4e1c\u65b9\u5ba2\u670d\u7535\u8bdd-1990-8888882\u5fae\u4fe1\u540c\u6b65\u3016\u5ba2\u670d\u5fae\u4fe119908888882\u5fae\u4fe1\u540c\u6b65\u3017\u679c\u535a\u4e1c\u65b9\u516c\u53f8\u5ba2\u670d\u7535\u8bdd-\u679c\u535a\u4e1c\u65b9\u516c\u53f8\u5ba2\u670d\u8054\u7cfb\u65b9\u5f0f-\u70ed\u7ebf\u54a8\u8be2\u5728\u7ebf-\u679c\u535a\u4e1c\u65b9\u516c\u53f8\u5ba2\u670d\u4e2d\u5fc3\u679c\u535a\u4e1c\u65b9\u5ba2\u670d\u4e2d\u5fc324\u5c0f\u65f6\u5728\u7ebf\u5f00\u6237\u679c\u535a\u4e1c\u65b9\u516c\u53f8\u5728\u7ebf\u5ba2\u670d\u3010\u5927\u989d\u65e0\u5fe7\u3011\u679c\u535a\u4e1c\u65b9\u96c6\u56e2\u516c\u53f8\u3010\u8bda\u4fe1\u535a\u5929\u4e0b\u3011\u3002", "site_icp": "\u8700ICP\u590717005244\u53f7", "site_logo": "\/Upload\/image\/201703\/22\/20170322103000_93301.jpg", "site_address": "\u56db\u5ddd\u7701\u6210\u90fd\u5e02\u9526\u6c5f\u533a\u9759\u5c45\u5bfa\u8def20\u53f7", "site_tel": "028-84590137 ", "site_qq": "151309615", "SITE_HTML_CACHE_ON": "0", "request_cache_except": "index\/index\r\nuser\/index", "site_status": "1", "site_close": "ersd", "id": "124" }
modulename product
actionname show
s /Home/product/show.html
random 0.18521493251866183
site_weburl http://www.sczhengda.com/
site_name 联系我们
site_title 果博东方公司客服电话19908888882
site_keyword 果博客服,果博东方客服,果博东方公司客服。
site_description 果博东方客服电话-1990-8888882微信同步〖客服微信19908888882微信同步〗果博东方公司客服电话-果博东方公司客服联系方式-热线咨询在线-果博东方公司客服中心果博东方客服中心24小时在线开户果博东方公司在线客服【大额无忧】果博东方集团公司【诚信博天下】。
site_icp 蜀ICP备17005244号
site_logo /Upload/image/201703/22/20170322103000_93301.jpg
site_address 四川省成都市锦江区静居寺路20号
site_tel 028-84590137
site_qq 151309615
SITE_HTML_CACHE_ON 0
request_cache_except index/index user/index
site_status 1
site_close ersd
id 124
module_where 1=1
where id=124
data Resource

Environment Variables

GET Data

id
124
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/home/wwwroot/sczhengda.com/index.php
QUERY_STRING
s=/Home/product/show.html&id=124
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/Home/product/show.html?id=124
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/home/wwwroot/sczhengda.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.12.2
REMOTE_ADDR
54.174.85.205
REMOTE_PORT
42300
SERVER_ADDR
211.149.203.3
SERVER_PORT
80
SERVER_NAME
sczhengda.com
REDIRECT_STATUS
200
PATH_INFO
/Home/product/show.html
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
claudebot
HTTP_HOST
www.sczhengda.com
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711626309.9015
REQUEST_TIME
1711626309
Environment Variables
empty

ThinkPHP Constants

APP_NAME
ZhiMengCMS
WEB_PATH
/home/wwwroot/sczhengda.com
APP_NAMESPACE
ZhiMengApp
EXTEND_PATH
/home/wwwroot/sczhengda.com/ZhiMengApp/extend/
VENDOR_PATH
/home/wwwroot/sczhengda.com/Vendor/
LOG_PATH
/home/wwwroot/sczhengda.com/RunTime/log/
TEMP_PATH
/home/wwwroot/sczhengda.com/RunTime/temp/
HTML_PATH
/home/wwwroot/sczhengda.com/Html/
CACHE_PATH
/home/wwwroot/sczhengda.com/RunTime/cache/
DATA_PATH
/home/wwwroot/sczhengda.com/RunTime/field/
APP_PATH
/home/wwwroot/sczhengda.com/ZhiMengApp/
RUNTIME_PATH
/home/wwwroot/sczhengda.com/RunTime/
THINK_VERSION
5.0.7
THINK_START_TIME
1711626309.903
THINK_START_MEM
265376
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/
LIB_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/library/
CORE_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/sczhengda.com/ZhiMengCore/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/sczhengda.com/
CONF_PATH
/home/wwwroot/sczhengda.com/ZhiMengApp/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
CONTROLLER_NAME
Product
ACTION_NAME
show