Please help with error in the log

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • murugappan
    Active Community Member
    • Aug 2017
    • 511

    #1

    Please help with error in the log

    Hi,

    I am getting the following warnings, please help:

    (1) WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/home/crmemast/public_html/emascrm/vendor/laminas/laminas-mail/src/Protocol/Imap.php","line":811} []

    (2) WARNING: E_WARNING: imagecreatefrompng(): gd-png: libpng warning: Interlace handling should be turned on when using png_read_image {"code":2,"message":"imagecreatefrompng(): gd-png: libpng warning: Interlace handling should be turned on when using png_read_image","file":"/home/crmemast/public_html/emascrm/application/Espo/EntryPoints/Image.php","line":295} []
    Last edited by murugappan; Yesterday, 09:10 AM.
  • heint
    Member
    • Jun 2025
    • 49

    #2
    Greetings, murugappan,

    The first problem might be related to an invalid assigned user of either a Personal or Group Email account. Double-check if users are valid for important features like that.

    The second issue is... PNG related? It's difficult to say where the root problem is, since it also might be related to the PHP version or some kind of PNG libraries. Check any of png files on your system; maybe some of them are corrupted.

    In most cases, warning log messages are not affecting the system performance, but if you encounter any problem with any functionality, please describe it in more detail.
    Last edited by heint; Yesterday, 05:00 PM.

    Comment

    • shalmaxb
      Senior Member
      • Mar 2015
      • 1797

      #3
      The second should have to do with the configuration of the server`s gd extension. The error tells, that interlace handling should be activated. This is necessary, so that the server can read png files, which had been saved interlaced by the image editor, that had been used to save the file. In the editor you either have the choice to save interlaced or not interlaced, or the editor by default saves in interlaced format. For both cases the sever should be able to read this format.
      Last edited by shalmaxb; Yesterday, 04:27 PM.

      Comment

      • yuri
        EspoCRM product developer
        • Mar 2014
        • 9530

        #4
        The first one could be caused the IMAP server returning unexpected response for some reason. I'd suggest checking email accounts (group and personal) and their specified monitored folders. Maybe some non-existent folder causes this.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        Working...