Pagodabox - 在/data/vendor/laravel/framework/src/Illuminate/Redis/Database.php:62中找不到“Predis \ Client”类

Pagodabox  - 在/data/vendor/laravel/framework/src/Illuminate/Redis/Database.php:62中找不到“Predis \ Client”类

问题描述:

I have a website hosted on pagodabox and I keep getting the following error.

Class 'Predis\Client' not found in /data/vendor/laravel/framework/src/Illuminate/Redis/Database.php:62I have already checked this question, but my problem is specifically related to the pagodabox host. I have contacted support, no response from them and I am thinking i;m not gtoing to hear back from theb since this has tro do with the app itself.

I tried updating and recompiling the build on the server to run the updated composer.json file with predis/predis, but this didn't do anything. i followed the instructions in the answer above, but it's not working on my server. Any ideas?

我在pagodabox上托管了一个网站,我不断收到以下错误。 p>

在/data/vendor/laravel/framework/src/Illuminate/Redis/Database.php:62中找不到类'Predis \ Client'我已经检查过这个问题,但我的问题与pagodabox主机有关。 我已经联系过支持,没有得到他们的回复,我正在考虑我的意思;我没有收到回复来自theb的回复,因为这与应用程序本身有关。 p> blockquote>

我尝试更新并重新编译服务器上的构建以使用predis / predis运行更新的composer.json文件,但这没有做任何事情。 我按照上面的答案中的说明,但它不能在我的服务器上工作。 有什么想法吗? p> div>

Try this

  1. Remove composer.lock
  2. Remove vendor folder
  3. Run composer install

Hope this helps