系统发生错误

[8] ErrorException in Fixture.php line 534

未定义数组索引: report_type

  1. }
  2. return $this->fetch('rooms_detail_two',$return_data);
  3. }elseif($data['report_type'] == 9){
  4. // 类工装报告
  5. return $this->fetch('rooms_detail_three',$return_data);
  6. }else{
  7. return $this->fetch('mobile_report_detail',$return_data);
  8. }
  9. }else{
  10. if($data['report_type'] == 3 || $data['report_type'] == 4){
  11. // 验房报告
  12. return $this->fetch('inspection_detail',$return_data);
  13. }elseif($data['report_type'] == 6){
  14. // 普通验房报告
  15. if($data['report_rooms']['type_of_inspection'] == '毛坯验房'){
  16. $standard = ArticleService::ArticleDetail(['id' => 156]);
  17. $this->assign('standard',$standard);
  18. }else{
  19. $standard = ArticleService::ArticleDetail(['id' => 157]);

Call Stack

  1. in Fixture.php line 534
  2. at Error::appError(8, 'Undefined index: rep...', '/home/wwwroot/defaul...', 534, ['params' => ['id' => '246441', 'get_report_type' => true, 'encrypt_name' => true, ...], 'data' => [], 'return_data' => ['data' => [], 'params' => ['id' => '246441', 'get_report_type' => true, 'encrypt_name' => true, ...]]]) in Fixture.php line 534
  3. at Fixture->ReportDetail()
  4. at ReflectionMethod->invokeArgs(object(Fixture), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Fixture), object(ReflectionMethod), ['id' => '246441']) in Module.php line 132
  6. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  7. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  10. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  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 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request)) in App.php line 435
  18. at App->run() in index.php line 15

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
service_area think:{"id":"1","province":"440000","city":"440100","name":"%E5%B9%BF%E5%B7%9E","add_time":"1594004353","is_show":"1","is_delete":0,"upd_time":"1713227301","have_admin":"1","show_name":"%E5%B9%BF%E4%B8%9C%E5%B9%BF%E5%B7%9E%E6%80%BB%E9%83%A8","phone":"4000-020-315","addr":"%E5%B9%BF%E5%B7%9E%E5%B8%82%E7%95%AA%E7%A6%BA%E5%8C%BA%E8%BF%8E%E5%AE%BE%E8%B7%AF%E4%BA%94%E6%B4%B2%E5%9F%8EB%E5%BA%A74025","images":"https%3A%2F%2Fimages.niujiaojian.com%2Foxhorn%2Fupload%2Fcompress%2Fcommon%2F2020%2F07%2F16%2FquJ2hjiyu72rulg8HB9s7pEy.png","pc_x":"4.68","pc_y":"4.4","pc_show":"1","chapter":"https%3A%2F%2Fimages.niujiaojian.com%2Foxhorn%2Fupload%2Fcompress%2Fcommon%2F2021%2F02%2F06%2FAG212FUUndkgbda7qOyUbonP.png","open_company":"1","open_book_order":"1","sort":"999","open_flower_construction":"1","open_flower_designer":"1","open_need_supervisor":0,"open_need_user_sign":"1","change_supervisor_check":"1","bad_comment_check":"1","lat":"23.0334550000","lng":"113.3201100000","open_supervisor_confirm_build":"1","show_work":"1","open_grapher":"1","is_show_text":"%E6%98%AF","open_company_text":"%E6%98%AF","open_flower_construction_text":"%E6%98%AF","open_flower_designer_text":"%E6%98%AF","open_need_supervisor_text":"%E5%90%A6","open_need_user_sign_text":"%E6%98%AF","change_supervisor_check_text":"%E6%98%AF","bad_comment_check_text":"%E6%98%AF","show_work_text":"%E6%98%AF","open_grapher_text":"%E6%98%AF","pc_show_text":"%E6%98%AF","province_name":"%E5%B9%BF%E4%B8%9C","city_name":"%E5%B9%BF%E5%B7%9E"}
province_id 440000
city_id 440100
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_CONNECTION Keep-Alive
HTTP_HOST www.niujiaojianli.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/)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.niujiaojianli.com
SERVER_PORT 80
SERVER_ADDR 172.16.61.176
REMOTE_PORT 33052
REMOTE_ADDR 3.236.112.70
SERVER_SOFTWARE nginx/1.16.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /home/wwwroot/default/oxhorn/public
DOCUMENT_URI /index.php
REQUEST_URI /index.php?s=/Index/fixture/reportdetail/id/246441.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/Index/fixture/reportdetail/id/246441.html
SCRIPT_FILENAME /home/wwwroot/default/oxhorn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT 1721444435.2994
REQUEST_TIME 1721444435
Environment Variablesempty
ThinkPHP Constants
DS /
ROOT_PATH /home/wwwroot/default/oxhorn/public/
ROOT /home/wwwroot/default/oxhorn/
__MY_HTTP__ http
__MY_ROOT__
__MY_ROOT_PUBLIC__ /
__MY_HOST__ www.niujiaojianli.com
__MY_PUBLIC_URL__ http://www.niujiaojianli.com/

[1] ErrorException in think_exception.tpl line 417

Uncaught think\exception\ErrorException: Use of undefined constant APPLICATION_VERSION - assumed 'APPLICATION_VERSION' (this will throw an Error in a future version of PHP) in /home/wwwroot/default/oxhorn/thinkphp/tpl/think_exception.tpl:417
Stack trace:
#0 /home/wwwroot/default/oxhorn/thinkphp/tpl/think_exception.tpl(417): think\Error::appError(2, 'Use of undefine...', '/home/wwwroot/d...', 417, Array)
#1 /home/wwwroot/default/oxhorn/thinkphp/library/think/exception/Handle.php(184): include('/home/wwwroot/d...')
#2 /home/wwwroot/default/oxhorn/thinkphp/library/think/exception/Handle.php(97): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException))
#3 /home/wwwroot/default/oxhorn/thinkphp/library/think/Error.php(56): think\exception\Handle->render(Object(think\exception\ErrorException))
#4 [internal function]: think\Error::appException(Object(think\exception\ErrorException))
#5 {main}
thrown

  1. </tbody>
  2. <?php } ?>
  3. </table>
  4. <?php } ?>
  5. </div>
  6. <?php } ?>
  7. <div class="copyright">
  8. <a title="" href="" target="_blank"></a>
  9. <span><?php echo APPLICATION_VERSION; ?></span>
  10. <a title="" href="" target="_blank" class="bbs-ask"></a>
  11. <span></span>
  12. </div>
  13. <?php if(\think\facade\App::isDebug()) { ?>
  14. <script>
  15. var LINE = <?php echo $line; ?>;
  16. function $(selector, node){
  17. var elements;

Call Stack

  1. in think_exception.tpl line 417
  2. at Error::appShutdown()

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
service_area think:{"id":"1","province":"440000","city":"440100","name":"%E5%B9%BF%E5%B7%9E","add_time":"1594004353","is_show":"1","is_delete":0,"upd_time":"1713227301","have_admin":"1","show_name":"%E5%B9%BF%E4%B8%9C%E5%B9%BF%E5%B7%9E%E6%80%BB%E9%83%A8","phone":"4000-020-315","addr":"%E5%B9%BF%E5%B7%9E%E5%B8%82%E7%95%AA%E7%A6%BA%E5%8C%BA%E8%BF%8E%E5%AE%BE%E8%B7%AF%E4%BA%94%E6%B4%B2%E5%9F%8EB%E5%BA%A74025","images":"https%3A%2F%2Fimages.niujiaojian.com%2Foxhorn%2Fupload%2Fcompress%2Fcommon%2F2020%2F07%2F16%2FquJ2hjiyu72rulg8HB9s7pEy.png","pc_x":"4.68","pc_y":"4.4","pc_show":"1","chapter":"https%3A%2F%2Fimages.niujiaojian.com%2Foxhorn%2Fupload%2Fcompress%2Fcommon%2F2021%2F02%2F06%2FAG212FUUndkgbda7qOyUbonP.png","open_company":"1","open_book_order":"1","sort":"999","open_flower_construction":"1","open_flower_designer":"1","open_need_supervisor":0,"open_need_user_sign":"1","change_supervisor_check":"1","bad_comment_check":"1","lat":"23.0334550000","lng":"113.3201100000","open_supervisor_confirm_build":"1","show_work":"1","open_grapher":"1","is_show_text":"%E6%98%AF","open_company_text":"%E6%98%AF","open_flower_construction_text":"%E6%98%AF","open_flower_designer_text":"%E6%98%AF","open_need_supervisor_text":"%E5%90%A6","open_need_user_sign_text":"%E6%98%AF","change_supervisor_check_text":"%E6%98%AF","bad_comment_check_text":"%E6%98%AF","show_work_text":"%E6%98%AF","open_grapher_text":"%E6%98%AF","pc_show_text":"%E6%98%AF","province_name":"%E5%B9%BF%E4%B8%9C","city_name":"%E5%B9%BF%E5%B7%9E"}
province_id 440000
city_id 440100
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_CONNECTION Keep-Alive
HTTP_HOST www.niujiaojianli.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/)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.niujiaojianli.com
SERVER_PORT 80
SERVER_ADDR 172.16.61.176
REMOTE_PORT 33052
REMOTE_ADDR 3.236.112.70
SERVER_SOFTWARE nginx/1.16.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /home/wwwroot/default/oxhorn/public
DOCUMENT_URI /index.php
REQUEST_URI /index.php?s=/Index/fixture/reportdetail/id/246441.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/Index/fixture/reportdetail/id/246441.html
SCRIPT_FILENAME /home/wwwroot/default/oxhorn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT 1721444435.2994
REQUEST_TIME 1721444435
Environment Variablesempty
ThinkPHP Constants
DS /
ROOT_PATH /home/wwwroot/default/oxhorn/public/
ROOT /home/wwwroot/default/oxhorn/
__MY_HTTP__ http
__MY_ROOT__
__MY_ROOT_PUBLIC__ /
__MY_HOST__ www.niujiaojianli.com
__MY_PUBLIC_URL__ http://www.niujiaojianli.com/