用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1232|回复: 0
收起左侧

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

[复制链接]
发表于 2017-12-31 18:11:25 | 显示全部楼层 |阅读模式
本帖最后由 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 不起作用!

本版积分规则