Deploy error: In PredisConnector.php line. Class 'Predis\Client' not found
As the title indicates, I get an error through deploy on Laravel Forge to Digital Ocean. I have checked the file locally, and Predit/Client is included. What do I do wrong?
Yes to all. I just tried composer require predis/predis on the server, but same error. The full log is:
Wed Jul 10 14:00:54 UTC 2019
Application is now in maintenance mode.
From github.com:USER/REPO
* branch master -> FETCH_HEAD
Already up to date.
Loading composer repositories with package information
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Nothing to install or update
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: [32mfideloper/proxy[39m
Discovered Package: [32mlaravel/tinker[39m
Discovered Package: [32mnesbot/carbon[39m
[32mPackage manifest generated successfully.[39m
In PredisConnector.php line 25:
Class 'Predis\Client' not found