Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error refresh-mailbox v1.2.0 #671

Open
serjsv87 opened this issue Jun 13, 2023 · 1 comment
Open

Error refresh-mailbox v1.2.0 #671

serjsv87 opened this issue Jun 13, 2023 · 1 comment
Labels
V-1.2.0 Regarding V-1.2.0 issues

Comments

@serjsv87
Copy link

serjsv87 commented Jun 13, 2023

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!
@serjsv87 serjsv87 changed the title error refresh-mailbox v1.2.0 Error refresh-mailbox v1.2.0 Jun 13, 2023
@serjsv87
Copy link
Author

fix edit php.ini

/etc/php/7.4/cli/php.ini

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE & ~E_WARNING

@komal-sh-27 komal-sh-27 added the V-1.2.0 Regarding V-1.2.0 issues label Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V-1.2.0 Regarding V-1.2.0 issues
Projects
None yet
Development

No branches or pull requests

2 participants