Unsupported Operand Types only when PHP 8.x

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1602

    Unsupported Operand Types only when PHP 8.x

    I have one installation of espoCRM, that runs under PHP 8.01 and causes an error on trying to edit a record. The error is Unsupported Operand Type string - int.

    When switching PHP to 7.4.3 the error does not happen.

    Error Log espoCRM in the attachment.

    espoCRM version 7.1.9
    MariaDB 10.5.16

    Similar errors had been reported for other Apps, like Drupal etc., as well because of PHP 8

    espo-2022-07-14_error_php_8.zip
    Attached Files
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Please do not report such issues as bugs. Check the log. Infer from the error message that the problem is with your formula. Seems you do math operations with strings.
    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

    • shalmaxb
      Senior Member
      • Mar 2015
      • 1602

      #3
      You are right, there actually was a string value in one formula. Thank you for insisting.

      Comment

      Working...