Announcement

Collapse
No announcement yet.

PHP 7.4 E_DEPRECATED warnings

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

  • PHP 7.4 E_DEPRECATED warnings

    Hi,

    I have just moved to a new server and upgraded from PHP 7.2 to 7.4. I am getting a lot of these messages in the log:

    Espo.NOTICE: E_DEPRECATED: Array and string offset access syntax with curly braces is deprecated {"code":8192,"message":"Array and string offset access syntax with curly braces is deprecated","file":"/application/Espo/ORM/EntityManager.php","line":121,


    Is there something I have failed to setup correctly or should I drop back to PHP 7.2 or 7.3?


  • #2
    As this is only a warning I ended up putting this in my php.ini file to suppress the warning
    PHP Code:
    error_reporting E_ALL & ~E_NOTICE & ~E_DEPRECATED 

    Comment

    Working...
    X