I got the same error. I run the the refresh-mailbox with --verbose command and i got the below error :
- Processing uvdesk mailbox configuration.
16:38:42 ERROR [console] Error thrown while running command "uvdesk:refresh-mailbox "italerts@navarino.gr" -v". Message: "syntax error, unexpected '?'" ["exception" => ParseError { …},"command" => "uvdesk:refresh-mailbox "italerts@navarino.gr" -v","message" => "syntax error, unexpected '?'"]
In MailboxService.php line 55:
[Symfony\Component\Debug\Exception\FatalThrowableError]
syntax error, unexpected '?'
Exception trace:
at C:\wamp\apache2\htdocs\uvdesk\vendor\uvdesk\mailbox-component\Services\MailboxService.php:55
require() at C:\wamp\apache2\htdocs\uvdesk\var\cache\prod\ContainerKpvVYYE\srcApp_KernelProdContainer.php:516
ContainerKpvVYYE\srcApp_KernelProdContainer->load() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\dependency-injection\Container.php:243
Symfony\Component\DependencyInjection\Container->make() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\dependency-injection\Container.php:225
Symfony\Component\DependencyInjection\Container->get() at C:\wamp\apache2\htdocs\uvdesk\vendor\uvdesk\mailbox-component\Console\RefreshMailboxCommand.php:60
Webkul\UVDesk\MailboxBundle\Console\RefreshMailboxCommand->execute() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\console\Command\Command.php:255
Symfony\Component\Console\Command\Command->run() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\console\Application.php:952 Symfony\Component\Console\Application->doRunCommand() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\framework-bundle\Console\Application.php:87
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\console\Application.php:273
Symfony\Component\Console\Application->doRun() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\framework-bundle\Console\Application.php:73
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at C:\wamp\apache2\htdocs\uvdesk\vendor\symfony\console\Application.php:149
Symfony\Component\Console\Application->run() at C:\wamp\apache2\htdocs\uvdesk\bin\console:42