in_array(): Argument #2 ($haystack) must be of type array, null given
/www/wwwroot/xun.niuqiqi.com/cache/template/_DS_www_DS_wwwroot_DS_xun.niuqiqi.com_DS_template_DS_pc_DS_niuq_DS_home_DS_search.html.cache.php at line 84
77
78 <div class="cd-panel__container">
79 <div class="cd-panel__content">
80 <div class="cd-panel-nav">
81 <ul>
82 <li><a href="<?php echo SITE_URL; ?>">首页</a></li>
83 <?php $return_c1 = [];$list_return_c1 = $this->list_tag("action=category module=share pid=0 return=c1"); if ($list_return_c1 && is_array($list_return_c1)) { extract($list_return_c1, EXTR_OVERWRITE); } $count_c1=dr_count($return_c1); if (is_array($return_c1) && $return_c1) { $key_c1=-1; foreach ($return_c1 as $c1) { $key_c1++; $is_first=$key_c1==0 ? 1 : 0;$is_last=$count_c1==$key_c1+1 ? 1 : 0; ?>
84 <li <?php if (IS_SHARE && $catid && in_array($catid, $t['catids'])) { ?> class="current-item" <?php } ?>><span class="button-x-small border-radius-100 bg-gray font-12 text-muted"><?php $return_count = [];$list_return_count = $this->list_tag("count action=module module=$c1[mid] catid=$c1[id]"); if ($list_return_count && is_array($list_return_count)) { extract($list_return_count, EXTR_OVERWRITE); echo ($return_count ? $return_count[0]['ct'] : 0); } else { echo 0; } ?></span><a href="<?php echo $c1['url']; ?>"><?php echo $c1['name']; ?></a></li>
85 <?php } } ?>
86 </ul>
87 </div>
88
89 <div class="search-bar-panel font-14 mt-4">
90 <form class="m-search has-border border-radius-5 " method="get"
91 target="_blank" action="/index.php">
/www/wwwroot/xun.niuqiqi.com/cache/template/_DS_www_DS_wwwroot_DS_xun.niuqiqi.com_DS_template_DS_pc_DS_niuq_DS_home_DS_search.html.cache.php : 84 — in_array()
include /www/wwwroot/xun.niuqiqi.com/dayrui/Fcms/Core/View.php — include()
/www/wwwroot/xun.niuqiqi.com/dayrui/App/Module/Extends/Home/Module.php : 276 — Phpcmf\View->display ()
269 }
270 }
271 if (!$tpl) {
272 $tpl = $catid && $cat['setting']['template']['search'] ? $cat['setting']['template']['search'] : 'search.html';
273 }
274 // 输出方式
275 if (!$rt) {
276 \Phpcmf\Service::V()->display($tpl);
277 } else {
278 $search_data['phpcmf_tpl'] = $search_data['tpl'] = $tpl;
279 return $search_data;
280 }
281 }
282
283 // 模块栏目页
/www/wwwroot/xun.niuqiqi.com/dayrui/App/News/Controllers/Search.php : 14 — Phpcmf\Home\Module->_Search ()
7 class Search extends \Phpcmf\Home\Module
8 {
9
10 public function index() {
11 // 初始化模块
12 $this->_module_init();
13 // 调用搜索方法
14 $this->_Search();
15 }
16
17 }
18
/www/wwwroot/xun.niuqiqi.com/dayrui/System/Extend/Run.php : 149 — Phpcmf\Controllers\Search->index ()
142 'value' => $value
143 ]);
144
145 }
146 }
147 }
148
149 $app->$method();
150
151 if (CI_DEBUG) {
152 $tool = new \CodeIgniter\Debug\Toolbar(config(\Config\Toolbar::class));
153 $tool->prepare($this);
154 }
155
156
/www/wwwroot/xun.niuqiqi.com/dayrui/System/Init.php : 402 — Frame\Run->bootWeb ()
395 $tool->respond();
396 });
397 }
398
399
400 // 启动框架
401 $run = new \Frame\Run();
402 $run->bootWeb();
403
404
require /www/wwwroot/xun.niuqiqi.com/dayrui/Fcms/Init.php — require()
require /www/wwwroot/xun.niuqiqi.com/public/index.php — require()
| Key | Value |
|---|---|
| USER | www |
| HOME | /home/www |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| PATH_INFO | |
| HTTP_HOST | xun.niuqiqi.com |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | xun.niuqiqi.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 10.0.16.9 |
| REMOTE_PORT | 54376 |
| REMOTE_ADDR | 216.73.216.57 |
| SERVER_SOFTWARE | nginx/1.28.3 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/2.0 |
| DOCUMENT_ROOT | /www/wwwroot/xun.niuqiqi.com/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /search/news/keyword-%E7%89%88%E5%BC%8F%E8%AE%BE%E8%AE%A1-catid-2 |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | |
| SCRIPT_FILENAME | /www/wwwroot/xun.niuqiqi.com/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT |
1788271536.6609 |
| REQUEST_TIME |
1788271536 |
| Key | Value |
|---|---|
| IS_DEV |
1 |
| IS_EDIT_TPL |
0 |
| ROOTPATH | /www/wwwroot/xun.niuqiqi.com/public/ |
| WEBPATH | /www/wwwroot/xun.niuqiqi.com/public/ |
| FCPATH | /www/wwwroot/xun.niuqiqi.com/dayrui/ |
| WRITEPATH | /www/wwwroot/xun.niuqiqi.com/cache/ |
| CONFIGPATH | /www/wwwroot/xun.niuqiqi.com/config/ |
| SELF | index.php |
| IS_ADMIN | |
| IS_VERSION |
1 |
| FRAMEPATH | /www/wwwroot/xun.niuqiqi.com/dayrui/System/ |
| CMSPATH | /www/wwwroot/xun.niuqiqi.com/dayrui/Fcms/ |
| MAX_CATEGORY |
300 |
| COREPATH | /www/wwwroot/xun.niuqiqi.com/dayrui/Fcms/ |
| BASEPATH | /www/wwwroot/xun.niuqiqi.com/dayrui/System/System/ |
| APPSPATH | /www/wwwroot/xun.niuqiqi.com/dayrui/App/ |
| MYPATH | /www/wwwroot/xun.niuqiqi.com/dayrui/My/ |
| TPLPATH | /www/wwwroot/xun.niuqiqi.com/template/ |
| IS_XRDEV |
0 |
| MOBILE_TPL_DIR | mobile |
| UEDITOR_IMG_TITLE | {cms_img_title} |
| TESTPATH | /www/wwwroot/xun.niuqiqi.com/cache/tests/ |
| TEMPPATH | /www/wwwroot/xun.niuqiqi.com/dayrui/Fcms/Temp/ |
| COMPOSER_PATH | /www/wwwroot/xun.niuqiqi.com/public/vendor/autoload.php |
| IS_AJAX | |
| IS_POST | |
| IS_AJAX_POST | |
| SYS_TIME |
1788271536 |
| SYS_DEBUG |
1 |
| SYS_ADMIN_CODE |
0 |
| SYS_ADMIN_LOG |
0 |
| SYS_AUTO_FORM |
0 |
| SYS_ADMIN_PAGESIZE |
10 |
| SYS_CRON_AUTH |
0 |
| SYS_TABLE_ISFOOTER |
0 |
| SYS_SMS_IMG_CODE |
0 |
| SYS_GO_404 |
0 |
| SYS_THEME_ROOT_PATH |
1 |
| SYS_301 |
1 |
| SYS_NOT_UPDATE |
1 |
| SYS_URL_ONLY |
0 |
| SYS_URL_REL |
1 |
| SYS_KEY | PHPCMFb52d772433252cf02f8105df2499d057 |
| SYS_API_TOKEN | |
| SYS_CSRF |
0 |
| SYS_CSRF_TIME |
1 |
| SYS_API_REL |
0 |
| SYS_HTTPS |
1 |
| SYS_NOT_ADMIN_CACHE |
1 |
| SYS_ADMIN_MODE |
0 |
| SYS_ADMIN_LOGINS |
10 |
| SYS_ADMIN_LOGIN_AES | |
| SYS_ATTACHMENT_DOWN_REMOTE | |
| SYS_ATTACHMENT_DOWN_SIZE | |
| SYS_ADMIN_LOGIN_TIME |
0 |
| SYS_LOGIN_AES |
0 |
| SYS_ADMIN_OAUTH |
0 |
| SYS_ADMIN_SMS_LOGIN |
0 |
| SYS_ADMIN_SMS_CHECK |
0 |
| SYS_ATTACHMENT_DB | |
| SYS_ATTACHMENT_PAGESIZE | |
| SYS_ATTACHMENT_GUEST | |
| SYS_ATTACHMENT_CF | |
| SYS_ATTACHMENT_REL | |
| SYS_ATTACHMENT_PATH | |
| SYS_ATTACHMENT_SAVE_TYPE | |
| SYS_ATTACHMENT_SAVE_DIR | |
| SYS_ATTACHMENT_SAVE_ID | |
| SYS_ATTACHMENT_URL | |
| SYS_AVATAR_PATH | |
| SYS_AVATAR_URL | |
| SYS_API_CODE |
0 |
| SYS_ATTACHMENT_SAFE | |
| IS_ADMIN_CACHE | 1 |
| SQGS | 迅睿CMS开源框架 |
| CI_DEBUG |
1 |
| IS_FB_DEBUG |
0 |
| ENVIRONMENT | development |
| SYS_CACHE |
0 |
| SYS_CACHE_TYPE |
0 |
| SYS_CACHE_SHOW |
0 |
| SYS_CACHE_LIST |
0 |
| SYS_CACHE_SEARCH |
0 |
| SYS_CACHE_SMS |
0 |
| SYS_CACHE_CRON |
0 |
| SYS_CACHE_CLEAR |
0 |
| FC_NOW_URL | https://xun.niuqiqi.com/search/news/keyword-%E7%89%88%E5%BC%8F%E8%AE%BE%E8%AE%A1-catid-2 |
| FC_NOW_HOST | https://xun.niuqiqi.com/ |
| DOMAIN_NAME | xun.niuqiqi.com |
| WEB_DIR | / |
| CMSURI | search/news/keyword-%E7%89%88%E5%BC%8F%E8%AE%BE%E8%AE%A1-catid-2 |
| IS_API | |
| IS_USE_MEMBER | /www/wwwroot/xun.niuqiqi.com/dayrui/App/Member/ |
| IS_USE_MODULE | /www/wwwroot/xun.niuqiqi.com/dayrui/App/Module/ |
| APPPATH | /www/wwwroot/xun.niuqiqi.com/dayrui/App/News/ |
| APP_DIR | news |
| IS_MEMBER | |
| IS_HOME |
1 |
| FRAME_PHP_VERSION | 8.0 |
| FRAME_NAME | System |
| FRAME_VERSION | 4.7 |
| EXIT_SUCCESS |
0 |
| EXIT_ERROR |
1 |
| EXIT_CONFIG |
3 |
| EXIT_UNKNOWN_FILE |
4 |
| EXIT_UNKNOWN_CLASS |
5 |
| EXIT_UNKNOWN_METHOD |
6 |
| EXIT_USER_INPUT |
7 |
| EXIT_DATABASE |
8 |
| EXIT__AUTO_MIN |
9 |
| EXIT__AUTO_MAX |
125 |
| EVENT_PRIORITY_LOW |
200 |
| EVENT_PRIORITY_NORMAL |
100 |
| EVENT_PRIORITY_HIGH |
10 |
| IS_COMMON |
1 |
| IS_SITES |
0 |
| CMF_NAME | 迅睿框架开源版 |
| CMF_VERSION | 4.7.1 |
| CMF_UPDATE_TIME | 1776407524 |
| SITE_ID |
1 |
| SITE_URL | https://xun.niuqiqi.com/ |
| SITE_MURL | https://xun.niuqiqi.com/ |
| SITE_NAME | 牛七七 |
| SITE_LOGO | https://xun.niuqiqi.com/uploadfile/attachments/202006/417ff46956333bc.png |
| SITE_IS_MOBILE |
0 |
| SITE_IS_MOBILE_HTML |
0 |
| SITE_MOBILE_DIR | mobile |
| SITE_MOBILE_NOT_PAD |
0 |
| SITE_THUMB_WATERMARK |
0 |
| SITE_THEME | niu7 |
| SITE_SEOJOIN | _ |
| SITE_REWRITE |
0 |
| SITE_TEMPLATE | niuq |
| SITE_LANGUAGE | zh-cn |
| SITE_TIME_FORMAT | Y-m-d H:i:s |
| ADMIN_URL | https://xun.niuqiqi.com/ |
| PAY_URL | https://xun.niuqiqi.com/ |
| ROOT_URL | https://xun.niuqiqi.com/ |
| OAUTH_URL | https://xun.niuqiqi.com/ |
| THEME_PATH | /static/ |
| LANG_PATH | /api/language/zh-cn/ |
| ROOT_THEME_PATH | /static/ |
| HOME_THEME_PATH | /static/niu7/ |
| MOBILE_THEME_PATH | https://xun.niuqiqi.com/static/niu7/ |
| SYS_UPLOAD_PATH | /www/wwwroot/xun.niuqiqi.com/public/uploadfile/ |
| SYS_UPLOAD_URL | https://xun.niuqiqi.com/uploadfile/ |
| CLIENT_URL | https://xun.niuqiqi.com/ |
| CLIENT_NAME | pc |
| IS_CLIENT | |
| MEMBER_URL | https://xun.niuqiqi.com/index.php?s=member |
| SITE_FID |
0 |
| MEMBER_CNAME | 昵称 |
| SITE_ICP | 湘ICP备12003358号 |
| SITE_TONGJI | |
| SITE_LOGIN_TIME |
36000 |
| SITE_SCORE | 金币 |
| SITE_EXPERIENCE | 经验 |
| IS_API_HTTP |
0 |
| USER_HTTP_CODE | 55e4a336f30d2aae824043d69dbd004f |
| MOD_DIR | news |
| IS_SHARE | 1 |
| IS_COMMENT |
0 |
| MODULE_URL | / |
| MODULE_NAME | 文章 |
| IS_OEM_CMS |
0 |
| SITE_TITLE | 牛七七 |
| IS_PC |
1 |
| IS_MOBILE | |
| IS_MOBILE_USER |
