在哪里可以找到此Client.php laravel [英] Where to find this Client.php laravel

查看:91
本文介绍了在哪里可以找到此Client.php laravel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将WSL中的php版本升级到7.4,并且正在运行使用laravel-5.5构建的应用程序.

I upgraded my php version in WSL to 7.4 and I am running an application built with laravel-5.5.

当我在命令行中运行 php artisan 时,出现此错误

When I run php artisan in the command line I got this error

在Client.php第1551行中:

In Client.php line 1551:

未定义变量:版本

Undefined variable: version

有许多$ version可用,在哪里可以找到此Client.php所讨论的错误?

There are many $version available where do I find this Client.php this error talking about?

日志中没有与此相关的日志记录.

There is no log record in the log about this.

谢谢

推荐答案

要暂时解决此问题,我做了

To do solve this temporarily I did this

return $version ?? '0.0.0';

vendor \ sentry \ sentry \ lib \ Raven \ Client.php:1551

并将 $ path {0} 更改为 $ path [0]

vendor \ sentry \ sentry \ lib \ Raven \ Client.php:331

这篇关于在哪里可以找到此Client.php laravel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆