简体   繁体   English

如何解决有关Guzzle的WSOD问题?

[英]How to fix WSOD issue complaining about Guzzle?

After enabling some modules on a Drupal 8 development in progress I got a WSOD. 在进行中的Drupal 8开发中启用了一些模块后,我得到了WSOD。 Debugging information threw the following issue: 调试信息引发以下问题:

Fatal error: Interface 'GuzzleHttp\\Promise\\TaskQueueInterface' not found in /var/www/html/galtane-clean/vendor/guzzlehttp/promises/src/TaskQueue.php on line 13 致命错误:在第13行的/var/www/html/galtane-clean/vendor/guzzlehttp/promises/src/TaskQueue.php中找不到接口'GuzzleHttp \\ Promise \\ TaskQueueInterface'

I tried to isolate the problem causing module by enabling the modules one by one on a backup of my database (pre-problem), but the error reappeared immediately after the first try. 我试图通过在数据库备份中逐个启用模块来隔离导致模块出现问题的方法(问题前),但是第一次尝试后立即再次出现该错误。 Then I un-installed this module and the problem was still present leading me to believe it has nothing to do with the modules in the first place, but rather with a process that accompanying the enabling of modules inside of Drupal. 然后,我卸载了该模块,但问题仍然存在,使我相信它最初与模块无关,而是与Drupal内部启用模块的过程无关。

That's as far as my debugging skills reach, apart from Googling, which gave me very little clues. 除了谷歌搜索,这还达到了我的调试技能所能提供的线索。 This is one post I found and I tried updating Composer with no effect. 这是我发现的一篇文章 ,我尝试更新Composer无效。 If anyone has ideas about this, or could point me in the right direction, would love to hear about it! 如果有人对此有任何想法,或者可以指出正确的方向,不妨听听它!

Try to remove all vendors and install them again. 尝试删除所有供应商,然后重新安装。 Seems that you have corrupted dependency of guzzlehttp/promise . 似乎您已损坏了guzzlehttp/promise依赖项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM