-
-
Notifications
You must be signed in to change notification settings - Fork 183
Closed
Description
Describe the bug
When I want to install the package via composer i am facing the following error:
post-autoload-dump: Illuminate\Foundation\ComposerScripts::postAutoloadDump
post-autoload-dump: @php artisan package:discover
ErrorException : Use of undefined constant FT_UID - assumed 'FT_UID' (this will throw an Error in a future version of PHP)
at /var/www/html/laravel/vendor/webklex/laravel-imap/src/config/imap.php: 105
101: |
102: */
103: 'options' => [
104: 'delimiter' => '/',
105: 'fetch' => FT_UID,
106: 'fetch_body' => true,
107: 'fetch_attachment' => true,
108: 'fetch_flags' => true,
109: 'message_key' => 'id',
110: 'fetch_order' => 'asc',
Exception trace:
1 Illuminate\Foundation\Bootstrap\HandleExceptions::handleError("Use of undefined constant FT_UID - assumed 'FT_UID' (this will throw an Error in a future version of PHP)", "/var/www/html/laravel/vendor/webklex/laravel-imap/src/config/imap.php", ["imap", "/var/www/html/laravel/vendor/webklex/laravel-imap/src/IMAP/Providers/../../config/imap.php"])
/var/www/html/laravel/vendor/webklex/laravel-imap/src/config/imap.php : 105
2 require("/var/www/html/laravel/vendor/webklex/laravel-imap/src/config/imap.php")
/var/www/html/laravel/vendor/webklex/laravel-imap/src/IMAP/Providers/LaravelServiceProvider.php : 66
**To Reproduce **
Steps to reproduce the behavior:
- Run "composer require webklex/laravel-imap" on console
Expected behavior
I want to install "laravel-imap" into my laravel project and I run the command: "composer require webklex/laravel-imap " in my laravel project. Where it throws me the error which I pasted in my first section of this post.
** Server : **
- OS: Debian 9
- PHP: 7.0
Metadata
Metadata
Assignees
Labels
No labels