Announcement

Collapse
No announcement yet.

Email Notification Error

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

  • 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.

  • #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


    • #3
      Hi khopper,

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

      Best regards

      Comment


      • #4
        This seems to be a problem with older EspoCRM versions on PHP 8.1. Need upgrading Espo.

        Comment


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