After updating to 1.8.134 email with attachment or image body its not received by freescout - Error in /var/www/html/overrides/webklex/php-imap/src/Attachment.php #3965
After updating to 1.8.134 any new e-mail with image in body or attachment its not received by freescout, this problem is noted just before upgrade to 1.8.133 and remains after 1.3.134 upgrade.
PHP version: PHP 8.1.2-1ubuntu2.15
FreeScout version: 1.8.134
Database: MySQL
Are you using CloudFlare: No
Guys,
After updating to 1.8.134 any new e-mail with image in body or attachment its not received by freescout, this problem is noted just before upgrade to 1.8.133 and remains after 1.3.134 upgrade.
PHP version: PHP 8.1.2-1ubuntu2.15 FreeScout version: 1.8.134 Database: MySQL Are you using CloudFlare: No
Errors in LOG: Parse error: syntax error, unexpected token ";", expecting ")" {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Parse error: syntax error, unexpected token \";\", expecting \")\" at /var/www/html/overrides/webklex/php-imap/src/Attachment.php:276)
0 /var/www/html/vendor/composer/ClassLoader.php(432): Composer\Autoload\ClassLoader::Composer\Autoload\{closure}()
1 /var/www/html/overrides/webklex/php-imap/src/Message.php(589): Composer\Autoload\ClassLoader->loadClass()
2 /var/www/html/overrides/webklex/php-imap/src/Message.php(552): Webklex\PHPIMAP\Message->fetchAttachment()
3 /var/www/html/overrides/webklex/php-imap/src/Message.php(542): Webklex\PHPIMAP\Message->fetchPart()
4 /var/www/html/overrides/webklex/php-imap/src/Message.php(526): Webklex\PHPIMAP\Message->fetchStructure()
5 /var/www/html/overrides/webklex/php-imap/src/Message.php(272): Webklex\PHPIMAP\Message->parseRawBody()
6 /var/www/html/vendor/webklex/php-imap/src/Query/Query.php(259): Webklex\PHPIMAP\Message::make()
7 /var/www/html/vendor/webklex/php-imap/src/Query/Query.php(347): Webklex\PHPIMAP\Query\Query->make()
8 /var/www/html/vendor/webklex/php-imap/src/Query/Query.php(313): Webklex\PHPIMAP\Query\Query->populate()
9 /var/www/html/vendor/webklex/php-imap/src/Query/Query.php(368): Webklex\PHPIMAP\Query\Query->curate_messages()
10 /var/www/html/app/Console/Commands/FetchEmails.php(224): Webklex\PHPIMAP\Query\Query->get()
11 /var/www/html/app/Console/Commands/FetchEmails.php(129): App\Console\Commands\FetchEmails->fetch()
12 [internal function]: App\Console\Commands\FetchEmails->handle()
13 /var/www/html/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(29): call_user_func_array()
14 /var/www/html/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(87): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
15 /var/www/html/overrides/laravel/framework/src/Illuminate/Container/BoundMethod.php(31): Illuminate\Container\BoundMethod::callBoundMethod()
16 /var/www/html/overrides/laravel/framework/src/Illuminate/Container/Container.php(549): Illuminate\Container\BoundMethod::call()
17 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\Container\Container->call()
18 /var/www/html/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute()
19 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\Component\Console\Command\Command->run()
20 /var/www/html/vendor/symfony/console/Application.php(992): Illuminate\Console\Command->run()
21 /var/www/html/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand()
22 /var/www/html/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun()
23 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Application.php(88): Symfony\Component\Console\Application->run()
24 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(121): Illuminate\Console\Application->run()
25 /var/www/html/artisan(62): Illuminate\Foundation\Console\Kernel->handle()
26 {main}
"}