Announcement

Collapse
No announcement yet.

invalid argument in data/log, no emails fetched

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • invalid argument in data/log, no emails fetched

    Hi,

    I got across a new issue, when runinng espo on a shared server and trying to fetch emails.

    Cronjobs schedule log shows successful execution. But emails do not get fetched.

    Data/log show two warnings:

    E_WARNING: Invalid argument supplied for foreach() {"file":"/mnt/webt/b1/12/5815412/htdocs/Platzhalter/espo/application/Espo/Services/EmailAccount.php","line":267} []

    E_WARNING: Illegal offset type in isset or empty {"file":"/mnt/webt/b1/12/5815412/htdocs/Platzhalter/espo/application/Espo/ORM/DB/Query/Base.php","line":339}


    Is this a server problem?
    Thanks,

  • #2
    Hi

    It's weird. Seems your IMAP server returns something wrong. Did you try create new Email Account record and deactivate the current?

    Comment


    • #3
      Hi,

      tried out the deactivation of accounts, re-installation of espo on server, different cron job providers, via cli and with direct url-calls, modifications in php.ini reg. execution time, etc…no fetching of emails.

      The strange thing: with epso locally installed (bitnami etc) and with windows scheduler, all emails get fetched. So I assume the IMAP is ok.

      With the installation on a shared server. No fetching...sadly

      Comment


      • #4
        Maybe shared sever blocks something.
        You can try to debug application/Espo/Services/EmailAccount.php or application/Espo/Services/InboundEmail.php

        Disable crontab and run cron.php manually in command line.

        Clear 'job' table in db after each run.

        Comment

        Working...
        X