[8] ErrorException in d86a82ced9858fe5038416621ae8d05b.php line 56

未定义数组索引: search_type

  1. <script type="text/javascript">
  2. // push row data after search filtering
  3. $.fn.dataTable.ext.search.push(function (settings, data, dataIndex) {
  4. var result = true; // It is the return. Being true means to be pushed.
  5. var i = 1;
  6. <?php foreach($ppi_settings as $k => $v): ?>
  7. var col_is_filtered = false; // It is defined for checking whether filtered. If false, this row will not be pushed.
  8. if ('<?php echo htmlentities($v['search_type']); ?>' == 'select') // select
  9. {
  10. var selected = $("select.select-<?php echo htmlentities($k); ?>").val();
  11. if (selected != null)
  12. {
  13. $.each(selected, function( key, value ) { // select checking
  14. if ($.inArray(value, data[i].split(',')) !== -1)
  15. {
  16. col_is_filtered = true;
  17. }

Call Stack

  1. in d86a82ced9858fe5038416621ae8d05b.php line 56
  2. at Error::appError(8, 'Undefined index: sea...', '/home/webadmin/new/w...', 56, ['cacheFile' => '/home/webadmin/new/w...', 'vars' => ['type' => '106', 'lists' => [['id' => '135', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...], ['id' => '134', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...], ['id' => '14', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...]], 'cinfo' => ['id' => '1042', 'parent_id' => '1024', 'category_name' => '...', ...], ...], 'type' => '106', ...]) in d86a82ced9858fe5038416621ae8d05b.php line 56
  3. at include('/home/webadmin/new/w...') in File.php line 59
  4. at File->read('/home/webadmin/new/w...', ['type' => '106', 'lists' => [['id' => '135', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...], ['id' => '134', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...], ['id' => '14', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...]], 'cinfo' => ['id' => '1042', 'parent_id' => '1024', 'category_name' => '...', ...], ...]) in Template.php line 220
  5. at Template->fetch('/home/webadmin/new/w...', ['type' => '106', 'lists' => [['id' => '135', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...], ['id' => '134', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...], ['id' => '14', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...]], 'cinfo' => ['id' => '1042', 'parent_id' => '1024', 'category_name' => '...', ...], ...], []) in Think.php line 89
  6. at Think->fetch('', ['type' => '106', 'lists' => [['id' => '135', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...], ['id' => '134', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...], ['id' => '14', 'pic_url' => '/media/file_object/b...', 'guid_path' => '', ...]], 'cinfo' => ['id' => '1042', 'parent_id' => '1024', 'category_name' => '...', ...], ...], []) in View.php line 175
  7. at View->fetch('', [], []) in Controller.php line 121
  8. at Controller->fetch() in Product.php line 185
  9. at Product->product_list()
  10. at ReflectionMethod->invokeArgs(object(Product), []) in Container.php line 303
  11. at Container->invokeReflectMethod(object(Product), object(ReflectionMethod), ['type' => '106']) in Module.php line 141
  12. at Module->run() in App.php line 381
  13. at App->think\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 119
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 74
  17. at Middleware->dispatch(object(Request)) in App.php line 402
  18. at App->run() in index.php line 21

Environment Variables

GET Data
type 106
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_PATH_INFO product_list.html
REDIRECT_STATUS 200
HTTP_USER_AGENT Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_REFERER http://www.belling.com.cn/
HTTP_HOST www.belling.com.cn
HTTP_CONNECTION keep-alive
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE zh-CN,zh
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME www.wgwt.net
SERVER_ADDR 192.168.0.20
SERVER_PORT 80
REMOTE_ADDR 209.58.134.98
DOCUMENT_ROOT /home/webadmin/new/web/public
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /home/webadmin/new/web/public
SERVER_ADMIN sale@belling.com
SCRIPT_FILENAME /home/webadmin/new/web/public/index.php
REMOTE_PORT 53662
REDIRECT_QUERY_STRING type=106
REDIRECT_URL /product_list.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING type=106
REQUEST_URI /product_list.html?type=106
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1540841724.79
REQUEST_TIME 1540841724
PATH_INFO product_list.html
Environment Variablesempty
ThinkPHP Constantsempty