andyzu 发表于 2017-12-31 18:11:25

天然纯小白:如何替代CI的系统错误提示,而给出自己定义...

本帖最后由 andyzu 于 2017-12-31 18:12 编辑

An uncaught Exception was encountered
Type: TypeError

Message: Argument 1 passed to create_token() must be of the type array, integer given, called in /Applications/XAMPP/xamppfiles/htdocs/codeIgniter316/application/controllers/C_test.php on line 116

Filename: /Applications/XAMPP/xamppfiles/htdocs/codeIgniter316/application/helpers/base_helper.php

Line Number: 193

Backtrace:

File: /Applications/XAMPP/xamppfiles/htdocs/codeIgniter316/application/controllers/C_test.php
Line: 116
Function: create_token

File: /Applications/XAMPP/xamppfiles/htdocs/codeIgniter316/index.php
Line: 315
Function: require_once

比如,屏蔽这些CI提示的错误,而用类似 trigger_error('缺少参数或参数类型错误!!!');,我用了trigger_error 不起作用!
页: [1]
查看完整版本: 天然纯小白:如何替代CI的系统错误提示,而给出自己定义...