community-skeleton
community-skeleton copied to clipboard
Error refresh-mailbox v1.2.0
Bug report
Title
error refresh-mailbox v1.2.0
I configured the mail, sent there email. expect the script will go into the mailbox and create tickets for incoming mail run
sudo -u www-data php /var/www/support.****/bin/console uvdesk:refresh-mailbox support@***.com -vvv
The result is an error with all letters (12 pieces)
- Processing email 12 of 12:
09:27:52 WARNING [php] Notice: Trying to access array offset on value of type null
[
"exception" => ErrorException {
#message: "Notice: Trying to access array offset on value of type null"
#code: 0
#file: "/var/www/\*\*\**\*\*\*\*\*/vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php"
#line: 190
#severity: E_NOTICE
trace: {
/var/www/*********/vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php:190 { …}
/var/www/*********/vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php:132 { …}
/var/www/*********/vendor/symfony/console/Command/Command.php:298 { …}
/var/www/*********/vendor/symfony/console/Application.php:1058 { …}
/var/www/*********/vendor/symfony/framework-bundle/Console/Application.php:96 { …}
/var/www/*********/vendor/symfony/console/Application.php:301 { …}
/var/www/*********/vendor/symfony/framework-bundle/Console/Application.php:82 { …}
/var/www/*********/vendor/symfony/console/Application.php:171 { …}
/var/www/*********/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php:54 { …}
/var/www/*********/vendor/autoload_runtime.php:35 { …}
/var/www/*********/bin/console:11 {
›
› require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
›
}
}
}
]
ERROR
- Mailbox refreshed successfully!
fix edit php.ini
/etc/php/7.4/cli/php.ini
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE & ~E_WARNING