Announcement

Collapse
No announcement yet.

Log file question

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

  • Log file question

    Hello,
    this entry appears several times in the user log file. How can you tell which entity is causing this?​

    [2023-03-31 01:44:03] NOTICE: E_USER_DEPRECATED: Accessing related records with Entity::get is deprecated. Use $repository->getRelation(...)->find() {"code":16384,"message":"Accessing related records with Entity::get is deprecated. Use $repository->getRelation(...)->find()","file":"/var/www/html/crm/application/Espo/ORM/BaseEntity.php","line":292} []

    peter

  • #2
    Hi Peter,

    These are deprecation notices, meaning that the code, that is supposed to be removed in the future, is invoked. The newer versions of Advanced pack and Sales pack should not produce these errors, as we fixed those by dropping support of older Espo versions.

    Comment


    • yuri
      yuri commented
      Editing a comment
      If you set the log level to WARNING, you won't get these messages. By default, it's set to WARNING, you changed to NOTICE or lower.
Working...
X