Open azpanel opened 1 month ago
你装的哪个版本的 ?之前视图那边会报错 后来修复了,建议你将think-trace 卸载了试试
开发者你好,感谢回复。目前情况是这样的。执行
composer require yangweijie/think-debugbar --dev
会安装v1.0.1版本,有这个问题。
指定安装1.0.6版本,在.env中配置打开debug条,已经卸载think-trace(下同),页面不显示。 降级到1.0.5版本,1.0.4版本,有错误
Uncaught TypeError: DebugBar\DataCollector\ExceptionsCollector::addException(): Argument #1 ($e) must be of type Exception, TypeError given, called in /home/wwwroot/azure/vendor/yangweijie/think-debugbar/src/ExceptionHandle.php on line 64 and defined in /home/wwwroot/azure/vendor/maximebf/debugbar/src/DebugBar/DataCollector/ExceptionsCollector.php:30<br />
Stack trace:<br />
#0 /home/wwwroot/azure/vendor/yangweijie/think-debugbar/src/ExceptionHandle.php(64): DebugBar\DataCollector\ExceptionsCollector->addException()<br />
#1 /home/wwwroot/azure/vendor/topthink/framework/src/think/initializer/Error.php(53): think\debugbar\ExceptionHandle->report()<br />
#2 [internal function]: think\initializer\Error->appException()<br />
#3 {main}<br />
thrown
降级到1.0.3版本,有错误
call_user_func_array(): Argument #1 ($callback) must be a valid callback, class think\Template does not have a method "getFinder"
环境
PHP 8.2.6 (cli) (built: Oct 19 2023 23:01:20) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.6, Copyright (c) Zend Technologies
Composer version 2.7.7 2024-06-10 22:11:12
在 https://github.com/[azpanel/azpanel](https://github.com/azpanel/azpanel) 项目安装,设置
config/debugbar.php
配置文件,collectors
类db
设为true
就会这样