Log file question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peterberlin
    Active Community Member
    • Mar 2015
    • 1004

    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
  • yuri
    Member
    • Mar 2014
    • 8440

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