【问题标题】:sentry throw error on laravel 5.1laravel 5.1上的哨兵抛出错误
【发布时间】:2016-06-01 06:20:03
【问题描述】:

我已经使用Laravel 5.1"jenssegers/raven": "^1.4"

当我在服务器上运行composer self-update 时发现错误page isn’t working

错误日志是:

PHP message: PHP Fatal error:  Uncaught exception 'ErrorException' with message 'preg_match() expects parameter 2 to be string, object given' in /var/www/html/www.something.com/vendor/sentry/sentry/lib/Raven/SanitizeDataProcessor.php:54

请帮助我,如何解决这个问题。感谢所有回复。

【问题讨论】:

    标签: laravel-5 sentry


    【解决方案1】:

    您使用的似乎是 Sentry 的旧 raven 客户端的非官方版本。

    您应该升级到最新的Sentry Laravel client,因为我们要离开 raven。如果您仍有问题,请给我们发送电子邮件!

    【讨论】:

      猜你喜欢
      • 2014-06-11
      • 2019-11-26
      • 1970-01-01
      • 2016-01-04
      • 2021-08-08
      • 1970-01-01
      • 1970-01-01
      • 2014-01-21
      • 1970-01-01
      相关资源
      最近更新 更多