Email Notification Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khopper
    Senior Member
    • Sep 2017
    • 329

    Email Notification Error

    The error from espo's logs show the below, when trying to email a notification.

    Apache2 is not showing any errors in the logs for espo

    Code:
    ERROR: Email Notification: Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /var/www/espocrm/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 86 [] []

    Please help?
    Last edited by khopper; 01-03-2023, 10:14 PM.
  • khopper
    Senior Member
    • Sep 2017
    • 329

    #2
    I have tried both versions of PHP 7.4 and 8.1 - getting same error:
    Code:
    2023-01-03 22:04:01] ERROR: Email Notification: Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in /var/www/espocrm/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 86 [] []
    Last edited by khopper; 01-03-2023, 10:13 PM.

    Comment

    • Vadym
      Super Moderator
      • Jun 2021
      • 345

      #3
      Hi khopper,

      What EspoCRM version do you use?
      Do you have any installed third-party extensions or customizations by codding?

      Best regards

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        This seems to be a problem with older EspoCRM versions on PHP 8.1. Need upgrading Espo.
        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


        • yuri
          yuri commented
          Editing a comment
          CLI might have been on 8.1 when you tried 7.4.
      Working...