douyuanliao8815 2016-02-01 04:18
浏览 321

Laravel 5.2 - 仅在实时服务器上找不到类'GuzzleHttp \ Client'

I have my config/mail 'driver' set to mandrill, host, port, etc. including in services.php mandrill secret set.

Sending Mail works fine locally, but on the live server I get:

Class 'GuzzleHttp\Client' not found

I have tried "guzzlehttp/guzzle": "~5.3|~6.0", and then back to "guzzlehttp/guzzle": "~4.0", no luck. I have done composer update, and dump-autoload still no luck on my live server. Been through every other associated Stackoverflow question and still can't resolve.

  • 写回答

2条回答 默认 最新

  • dongshi7433 2016-03-31 17:31
    关注

    try composer require guzzlehttp/guzzle without specifying the version. Worked for me

    评论

报告相同问题?

悬赏问题

  • ¥100 set_link_state
  • ¥15 虚幻5 UE美术毛发渲染
  • ¥15 CVRP 图论 物流运输优化
  • ¥15 Tableau online 嵌入ppt失败
  • ¥100 支付宝网页转账系统不识别账号
  • ¥15 基于单片机的靶位控制系统
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度