Comments (1)
我这个是报错network预览直接不显示出来 刷到相同的问题了
修复方案 #2448
$data = [
'code' => $this->getCode($exception),
'message' => $this->getMessage($exception),
'traces' => $traces,
'datas' => $this->getExtendData($exception),
'tables' => [
'GET Data' => $this->app->request->get(),
'POST Data' => $this->app->request->post(),
'Files' => $this->app->request->file(),
'Cookies' => $this->app->request->cookie(),
'Session' => $this->app->exists('session') ? $this->app->session->all() : [],
'Server/Request Data' => $this->changeToUtf8($this->app->request->server()),
],
];
protected function changeToUtf8(array $data): array
{
foreach ($data as $key => $value) {
$data[$key] = mb_convert_encoding($value, "UTF-8","GBK, GBK2312");
}
return $data;
}
from framework.
Related Issues (20)
- TP8错误提示有误,很难找到问题 HOT 2
- 多个模型定义全局查询范围的时候使用join会报错的问题 HOT 1
- cache组件并发下,如果不设置模型字段缓存,会经常把报错 HOT 1
- 关于trace调试窗口的疑问 HOT 2
- 关于安卓13+Termux环境部署上的一些小问题 HOT 1
- 請問為何我使用Termux 卻帶不出手機裡已安裝的app list?
- composer安装不了thinkphp8 HOT 1
- TP8不支持 form-data 格式的请求数据吗?只支持 x-www-form-urlencoded ? HOT 3
- 使用 Predis 时模型 save 方法报错 ERR wrong number of arguments for 'del' command HOT 7
- 8.0.3 路由跨域设置 不生效
- StyleCi 规则草案讨论
- The memory overflow problem exists in the framework of versions later than 8.0.0 HOT 5
- Reflected XSS(Cross Site Scripting) HOT 1
- 框架加载配置文件期间的异常无法捕获
- 编辑器提示存在漏洞 HOT 1
- Log::getLog()获取不到日志内容 HOT 1
- composer安装thinkphp8安装失败 HOT 3
- cache 使用redis,并使用getex指令,无法获取前缀 HOT 1
- tp8的session机制改变了吗? HOT 2
- Validate对于有序数组的校验
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.