Error 500

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • tanya
    replied
    What is your current version of EspoCRM and advanced Pack?
    And 'audited' parameter could be needed only, if entity has Stream

    Leave a comment:


  • Enju
    replied
    PHP Code:
    {
        
    "fields": {
            
    "koszt": {
                
    "type""currency",
                
    "required"false,
                
    "audited"true,
                
    "readOnly"false,
                
    "tooltip"false,
                
    "isCustom"true 
    Attached Files

    Leave a comment:


  • yuri
    replied
    Could you let me know which field you set audited? I would like to reproduce the issue. Thank you.

    Leave a comment:


  • Enju
    replied
    I change all field "audited": true, -> audited": false in OpportunityItems.json and now works. Thank You Tanya!

    Leave a comment:


  • tanya
    replied
    Hello,
    could you attach zipped custom/Espo/Custom/Resources/metadata/entityDefs ?

    Leave a comment:


  • Enju
    started a topic Error 500

    Error 500

    Hi,
    I get error 500 everywhere after I checked Audited box in same field in opportunity items(I forgot which one).
    Logs form espo:
    Code:
    [2018-07-06 10:24:25] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/var/www/gajetare.com/htdocs/espo/espocrm-latest/EspoCRM-4.8.4/application/Espo/Core/ORM/Repositories/RDB.php","line":129,"context":{"params":[],"entityType":"AuthToken","metadata":"[object] (Espo\\Core\\Utils\\Metadata: {})","defs":1}} []
    [2018-07-06 10:24:25] Espo.ERROR: E_RECOVERABLE_ERROR: Argument 1 passed to Espo\ORM\DB\Mapper::select() must be an instance of Espo\ORM\IEntity, null given, called in /var/www/gajetare.com/htdocs/espo/espocrm-latest/EspoCRM-4.8.4/application/Espo/ORM/Repositories/RDB.php on line 200 and defined {"code":4096,"message":"Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must be an instance of Espo\\ORM\\IEntity, null given, called in /var/www/gajetare.com/htdocs/espo/espocrm-latest/EspoCRM-4.8.4/application/Espo/ORM/Repositories/RDB.php on line 200 and defined","file":"/var/www/gajetare.com/htdocs/espo/espocrm-latest/EspoCRM-4.8.4/application/Espo/ORM/DB/Mapper.php","line":104,"context":[]} []
    Thank You in advance.
Working...