Announcement

Collapse
No announcement yet.

Ошибка в логах Undefined index: type {"code":8

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

  • Ошибка в логах Undefined index: type {"code":8

    Здравствуйте! После перехода на новую версию, со сменой хостинга в логах появились такие ошибки.
    В чем может быть причина и как это починить?


    [2020-02-03 10:10:00] Espo.NOTICE: E_NOTICE: Undefined index: type {"code":8,"message":"Undefined index: type","file":"site.ru/public_html/application/Espo/Core/Utils/Database/Orm/RelationManager.php","line":113,"context":{"linkNa me":"quotes","linkParams":{"audited":false},"entit yName":"Account","ormMetadata":{"Account":{"fields ":{"id":{"type":"id","dbType":"varchar"},"name":{" type":"varchar","len":249,"fieldType":"varchar"}," deleted":{"type":"bool","default":false},"website" :{"type":"varchar","fieldType":"varchar","len":255 },"emailAddress":{"type":"email","notStorable":tru e,"fieldType":"email","select":{"sql":"emailAddres ses.name","leftJoins":[["emailAddresses","emailAddresses",{"primary":1 }]]},"selectForeign":{"sql":"emailAddressAccountForei gn.name","leftJoins":[["EntityEmailAddress","emailAddressAccountForeignMi ddle",{"emailAddressAccountForeignMiddle.entityId: ":"{alias}.id","emailAddressAccountForeignMiddle.p rimary":1}]....

    [2020-02-03 10:10:00] Espo.NOTICE: E_NOTICE: Undefined index: Tests {"code":8,"message":"Undefined index: Tests","file":"site.ru/public_html/application/Espo/Core/Utils/Database/Orm/RelationManager.php","line":111,"context":{"linkNa me":"testss","linkParams":{"type":"hasMany","relat ionName":"testsOpportunity","foreign":"opportuniti es","entity":"Tests","audited":false,"isCustom":tr ue},"entityName":"Opportunity","ormMetadata":{"Opp ortunity":{"fields":{"id":{"type":"id","dbType":"v archar"},"name":{"type":"varchar","fieldType":"var char","len":255},"deleted":{"type":"bool","default ":false},"amount":{"type":"float","fieldType":"cur rency","orderBy":{"sql":"opportunity.amount * amountCurrencyRate.rate {direction}","leftJoins":[["Currency","amountCurrencyRate",...


    [2020-02-03 10:10:00] Espo.NOTICE: E_NOTICE: Undefined index: type {"code":8,"message":"Undefined index: type","file":"site.ru/public_html/application/Espo/Core/Utils/Database/Orm/RelationManager.php","line":117,"context":{"linkNa me":"account","linkParams":{"type":"belongsTo","en tity":"Account","foreign":"quotes"},"entityName":" Quote","ormMetadata":{"Quote":{"fields":{"id":{"ty pe":"id","dbType":"varchar"},"name":{"type":"varch ar","fieldType":"varchar","len":255},"deleted":{"t ype":"bool","default":false},"number":{"type":"var char","len":100,"fieldType":"varchar"},"invoiceNum ber":{"type":"varchar","len":"100","fieldType":"va rchar"},"status":{"type":"varchar","default":"Draf t","fieldType":"varchar","len":255},"...


  • #2
    Мне все еще нужна помощь по поводу сообщения в логе:
    Undefined index: type {"code":8,"message":"Undefined index: type","file":"/*/public_html/application/Espo/Core/Utils/Database/Schema/Utils.php","line":84,"context":{"fieldDefs":{"attr ibuteRole":"currency","fieldType":"currency"}}} []

    Comment


    • #3
      Здравствуйте,
      Это не совсем ошибки. Это как примечания. Известно ли вам в какой сущности относятся данная запись (к примеру сущность Сделка)?

      Comment

      Working...
      X