[2018-03-20 16:08:47] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/var/www/espocrm/application/Espo/Core/Utils/Database/Orm/Converter.php","line":150,"context":{"entityDefs":1,"ormMetadata":[]}} []
[2018-03-20 16:08:47] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/var/www/espocrm/application/Espo/Core/ORM/Repositories/RDB.php","line":129,"context":{"params":[],"entityType":"AuthToken","metadata":"[object] (Espo\\Core\\Utils\\Metadata: {})","defs":1}} []
[2018-03-20 16:08:47] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must be an instance of Espo\ORM\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201" at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php line 103 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must be an instance of Espo\\ORM\\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201 at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php:103)"} []
[2018-03-20 16:08:47] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/var/www/espocrm/application/Espo/Core/ORM/Repositories/RDB.php","line":129,"context":{"params":[],"entityType":"AuthToken","metadata":"[object] (Espo\\Core\\Utils\\Metadata: {})","defs":1}} []
[2018-03-20 16:08:47] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must be an instance of Espo\ORM\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201" at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php line 103 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must be an instance of Espo\\ORM\\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201 at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php:103)"} []
[2018-03-20 16:08:47] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/var/www/espocrm/application/Espo/Core/ORM/Repositories/RDB.php","line":129,"context":{"params":[],"entityType":"AuthToken","metadata":"[object] (Espo\\Core\\Utils\\Metadata: {})","defs":1}} []
[2018-03-20 16:08:47] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must be an instance of Espo\ORM\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201" at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php line 103 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must be an instance of Espo\\ORM\\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201 at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php:103)"} []
[2018-03-20 16:08:47] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/var/www/espocrm/application/Espo/Core/ORM/Repositories/RDB.php","line":129,"context":{"params":[],"entityType":"AuthToken","metadata":"[object] (Espo\\Core\\Utils\\Metadata: {})","defs":1}} []
[2018-03-20 16:08:47] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must be an instance of Espo\ORM\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201" at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php line 103 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must be an instance of Espo\\ORM\\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201 at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php:103)"} []
[2018-03-20 16:08:48] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must implement interface Espo\ORM\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201" at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php line 103 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must implement interface Espo\\ORM\\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201 at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php:103)"} []
[2018-03-20 16:08:48] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/var/www/espocrm/application/Espo/Core/ORM/Repositories/RDB.php","line":129,"context":{"params":[],"entityType":"AuthToken","metadata":"[object] (Espo\\Core\\Utils\\Metadata: {})","defs":1}} []
[2018-03-20 16:08:48] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must be an instance of Espo\ORM\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201" at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php line 103 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must be an instance of Espo\\ORM\\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201 at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php:103)"} []
[2018-03-20 16:08:48] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must implement interface Espo\ORM\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201" at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php line 103 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must implement interface Espo\\ORM\\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201 at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php:103)"} []
[2018-03-20 16:08:48] Espo.DEBUG: Schema\Converter - Start: building schema [] []
[2018-03-20 16:08:48] Espo.DEBUG: DBAL: Table [entity_team] exists. [] []
[2018-03-20 16:08:48] Espo.DEBUG: Schema\Converter - End: building schema [] []
[2018-03-20 16:09:52] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\EntityManager::setMetadata() must be of the type array, integer given, called in /var/www/espocrm/application/Espo/ORM/EntityManager.php on line 74" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 184 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\EntityManager::setMetadata() must be of the type array, integer given, called in /var/www/espocrm/application/Espo/ORM/EntityManager.php on line 74 at /var/www/espocrm/application/Espo/ORM/EntityManager.php:184)"} []
[2018-03-20 16:11:00] Espo.WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty {"code":2,"message":"rmdir(data/cache/application): Directory not empty","file":"/var/www/espocrm/application/Espo/Core/Utils/File/Manager.php","line":529,"context":{"dirPaths":["data/cache/application"],"result":true,"dirPath":"data/cache/application"}} []
[2018-03-20 16:11:01] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\EntityManager::setMetadata() must be of the type array, integer given, called in /var/www/espocrm/application/Espo/ORM/EntityManager.php on line 74" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 184 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\EntityManager::setMetadata() must be of the type array, integer given, called in /var/www/espocrm/application/Espo/ORM/EntityManager.php on line 74 at /var/www/espocrm/application/Espo/ORM/EntityManager.php:184)"} []
[2018-03-20 16:11:01] Espo.ERROR: API [POST]:/Admin/fieldManager/:scope, Params:Array (     [scope] => Account ) , InputData: {"type":"text","required":false,"rows":6,"lengthOfCut":400,"dynamicLogicVisible":null,"dynamicLogicRequired":null,"dynamicLogicReadOnly":null,"name":"ordernumi","label":"ORDER NUMBER - INTERNET","tooltipText":"","default":"","maxLength":null,"seeMoreDisabled":false,"readOnly":false,"tooltip":false} - Error while clearing cache [] []
[2018-03-20 16:11:01] Espo.ERROR: Display Error: Error while clearing cache, Code: 500 URL: /espocrm/api/v1/Admin/fieldManager/Account [] []
[2018-03-20 16:11:25] Espo.WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty {"code":2,"message":"rmdir(data/cache/application): Directory not empty","file":"/var/www/espocrm/application/Espo/Core/Utils/File/Manager.php","line":529,"context":{"dirPaths":["data/cache/application"],"result":true,"dirPath":"data/cache/application"}} []
[2018-03-20 16:11:26] Espo.ERROR: API [POST]:/Admin/fieldManager/:scope, Params:Array (     [scope] => Account ) , InputData: {"type":"text","required":false,"rows":6,"lengthOfCut":400,"dynamicLogicVisible":null,"dynamicLogicRequired":null,"dynamicLogicReadOnly":null,"name":"ordernumi","label":"ORDER NUMBER - INTERNET","tooltipText":"","default":"","maxLength":null,"seeMoreDisabled":false,"readOnly":false,"tooltip":false} - Error while clearing cache [] []
[2018-03-20 16:11:26] Espo.ERROR: Display Error: Error while clearing cache, Code: 500 URL: /espocrm/api/v1/Admin/fieldManager/Account [] []
[2018-03-20 16:12:11] Espo.DEBUG: Schema\Converter - Start: building schema [] []
[2018-03-20 16:12:11] Espo.DEBUG: DBAL: Table [entity_team] exists. [] []
[2018-03-20 16:12:11] Espo.DEBUG: Schema\Converter - End: building schema [] []
[2018-03-20 16:13:05] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/var/www/espocrm/application/Espo/Core/Utils/Database/Orm/Converter.php","line":150,"context":{"entityDefs":1,"ormMetadata":[]}} []
[2018-03-20 16:13:05] Espo.WARNING: E_WARNING: Invalid argument supplied for foreach() {"code":2,"message":"Invalid argument supplied for foreach()","file":"/var/www/espocrm/application/Espo/Core/ORM/Repositories/RDB.php","line":129,"context":{"params":[],"entityType":"AuthToken","metadata":"[object] (Espo\\Core\\Utils\\Metadata: {})","defs":1}} []
[2018-03-20 16:13:05] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\DB\Mapper::select() must be an instance of Espo\ORM\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201" at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php line 103 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\DB\\Mapper::select() must be an instance of Espo\\ORM\\IEntity, null given, called in /var/www/espocrm/application/Espo/ORM/Repositories/RDB.php on line 201 at /var/www/espocrm/application/Espo/ORM/DB/Mapper.php:103)"} []
[2018-03-20 16:13:05] Espo.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Espo\ORM\EntityManager::setMetadata() must be of the type array, integer given, called in /var/www/espocrm/application/Espo/ORM/EntityManager.php on line 74" at /var/www/espocrm/application/Espo/ORM/EntityManager.php line 184 {"exception":"[object] (TypeError(code: 0): Argument 1 passed to Espo\\ORM\\EntityManager::setMetadata() must be of the type array, integer given, called in /var/www/espocrm/application/Espo/ORM/EntityManager.php on line 74 at /var/www/espocrm/application/Espo/ORM/EntityManager.php:184)"} []
[2018-03-20 16:13:05] Espo.ERROR: Uncaught Exception ParseError: "syntax error, unexpected ''foreig' (T_ENCAPSED_AND_WHITESPACE), expecting ')'" at /var/www/espocrm/data/cache/application/ormMetadata.php line 5364 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ''foreig' (T_ENCAPSED_AND_WHITESPACE), expecting ')' at /var/www/espocrm/data/cache/application/ormMetadata.php:5364)"} []
[2018-03-20 16:13:06] Espo.DEBUG: Schema\Converter - Start: building schema [] []
[2018-03-20 16:13:06] Espo.DEBUG: Rebuild Database for entities: [Account] with dependent entities: [Account, EmailAddress, PhoneNumber, QuoteItem, Quote, Team, InboundEmail, Email, EmailAccount, EmailFolder, User, Attachment, Report, ReportCategory, TargetList, Lead, GoogleContactsPair, VoipMessage, Document, DocumentFolder, Contact, Task, CampaignLogRecord, EmailQueueItem, MassEmail, Campaign, CampaignTrackingUrl, Opportunity, OpportunityItem, Product, ProductCategory, ProductBrand, Call, GoogleCalendar, Meeting, GoogleCalendarUser, GoogleCalendarRecurrentEvent, EmailTemplate, Case, KnowledgeBaseArticle, KnowledgeBaseCategory, Portal, Note, PortalRole, Preferences, Role, EmailFilter, ShippingProvider, Tax] [] []
[2018-03-20 16:13:06] Espo.DEBUG: DBAL: Table [entity_team] exists. [] []
[2018-03-20 16:13:06] Espo.DEBUG: Schema\Converter - End: building schema [] []
[2018-03-20 16:13:06] Espo.INFO: SCHEMA, Execute Query: ALTER TABLE `account` ADD ordernumberi LONGTEXT DEFAULT NULL [] []
[2018-03-20 16:13:35] Espo.DEBUG: Schema\Converter - Start: building schema [] []
[2018-03-20 16:13:35] Espo.DEBUG: DBAL: Table [entity_team] exists. [] []
[2018-03-20 16:13:35] Espo.DEBUG: Schema\Converter - End: building schema [] []
[2018-03-20 16:16:22] Espo.DEBUG: Schema\Converter - Start: building schema [] []
[2018-03-20 16:16:22] Espo.DEBUG: Rebuild Database for entities: [Account] with dependent entities: [Account, EmailAddress, PhoneNumber, QuoteItem, Quote, Team, InboundEmail, Email, EmailAccount, EmailFolder, User, Attachment, Report, ReportCategory, TargetList, Lead, GoogleContactsPair, VoipMessage, Document, DocumentFolder, Contact, Task, CampaignLogRecord, EmailQueueItem, MassEmail, Campaign, CampaignTrackingUrl, Opportunity, OpportunityItem, Product, ProductCategory, ProductBrand, Call, GoogleCalendar, Meeting, GoogleCalendarUser, GoogleCalendarRecurrentEvent, EmailTemplate, Case, KnowledgeBaseArticle, KnowledgeBaseCategory, Portal, Note, PortalRole, Preferences, Role, EmailFilter, ShippingProvider, Tax] [] []
[2018-03-20 16:16:22] Espo.DEBUG: DBAL: Table [entity_team] exists. [] []
[2018-03-20 16:16:22] Espo.DEBUG: Schema\Converter - End: building schema [] []
[2018-03-20 16:16:22] Espo.INFO: SCHEMA, Execute Query: ALTER TABLE `account` ADD orderstatusv VARCHAR(255) DEFAULT NULL [] []
[2018-03-20 16:17:27] Espo.DEBUG: Schema\Converter - Start: building schema [] []
[2018-03-20 16:17:27] Espo.DEBUG: Rebuild Database for entities: [Account] with dependent entities: [Account, EmailAddress, PhoneNumber, QuoteItem, Quote, Team, InboundEmail, Email, EmailAccount, EmailFolder, User, Attachment, Report, ReportCategory, TargetList, Lead, GoogleContactsPair, VoipMessage, Document, DocumentFolder, Contact, Task, CampaignLogRecord, EmailQueueItem, MassEmail, Campaign, CampaignTrackingUrl, Opportunity, OpportunityItem, Product, ProductCategory, ProductBrand, Call, GoogleCalendar, Meeting, GoogleCalendarUser, GoogleCalendarRecurrentEvent, EmailTemplate, Case, KnowledgeBaseArticle, KnowledgeBaseCategory, Portal, Note, PortalRole, Preferences, Role, EmailFilter, ShippingProvider, Tax] [] []
[2018-03-20 16:17:27] Espo.DEBUG: DBAL: Table [entity_team] exists. [] []
[2018-03-20 16:17:27] Espo.DEBUG: Schema\Converter - End: building schema [] []
[2018-03-20 16:17:27] Espo.INFO: SCHEMA, Execute Query: ALTER TABLE `account` ADD orderstatusi VARCHAR(255) DEFAULT NULL [] []
[2018-03-20 16:18:05] Espo.WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty {"code":2,"message":"rmdir(data/cache/application): Directory not empty","file":"/var/www/espocrm/application/Espo/Core/Utils/File/Manager.php","line":529,"context":{"dirPaths":["data/cache/application"],"result":true,"dirPath":"data/cache/application"}} []
[2018-03-20 16:18:05] Espo.ERROR: API [PATCH]:/Admin/fieldManager/:scope/:name, Params:Array (     [scope] => Account     [name] => comppaiddate ) , InputData: {"name":"comppaiddate","label":"Comp Paid Date - Voice","notNull":false,"type":"date","required":false,"audited":false,"readOnly":false,"tooltip":false,"isCustom":true,"dynamicLogicVisible":null,"dynamicLogicRequired":null,"dynamicLogicReadOnly":null,"default":null,"after":"","before":""} - Error while clearing cache [] []
[2018-03-20 16:18:05] Espo.ERROR: Display Error: Error while clearing cache, Code: 500 URL: /espocrm/api/v1/Admin/fieldManager/Account/comppaiddate [] []
[2018-03-20 16:19:09] Espo.WARNING: E_WARNING: rmdir(data/cache/application): Directory not empty {"code":2,"message":"rmdir(data/cache/application): Directory not empty","file":"/var/www/espocrm/application/Espo/Core/Utils/File/Manager.php","line":529,"context":{"dirPaths":["data/cache/application"],"result":true,"dirPath":"data/cache/application"}} []
[2018-03-20 16:19:09] Espo.ERROR: Uncaught Exception ParseError: "syntax error, unexpected end of file, expecting ')'" at /var/www/espocrm/data/cache/application/metadata.php line 4828 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected end of file, expecting ')' at /var/www/espocrm/data/cache/application/metadata.php:4828)"} []
[2018-03-20 16:19:09] Espo.ERROR: Uncaught Exception ParseError: "syntax error, unexpected '' => false,' (T_CONSTANT_ENCAPSED_STRING), expecting ')'" at /var/www/espocrm/data/cache/application/ormMetadata.php line 18142 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected '' => false,' (T_CONSTANT_ENCAPSED_STRING), expecting ')' at /var/www/espocrm/data/cache/application/ormMetadata.php:18142)"} []
[2018-03-20 16:19:10] Espo.ERROR: API [POST]:/Admin/fieldManager/:scope, Params:Array (     [scope] => Account ) , InputData: {"type":"date","required":false,"dynamicLogicVisible":null,"dynamicLogicRequired":null,"dynamicLogicReadOnly":null,"name":"comppaiddatei","label":"Comp Paid Date - Internet","tooltipText":"","default":null,"after":"","before":"","audited":false,"readOnly":false,"tooltip":false} - Error while clearing cache [] []
[2018-03-20 16:19:10] Espo.ERROR: Display Error: Error while clearing cache, Code: 500 URL: /espocrm/api/v1/Admin/fieldManager/Account [] []
[2018-03-20 16:19:19] Espo.DEBUG: Schema\Converter - Start: building schema [] []
[2018-03-20 16:19:19] Espo.DEBUG: Rebuild Database for entities: [Account] with dependent entities: [Account, EmailAddress, PhoneNumber, QuoteItem, Quote, Team, InboundEmail, Email, EmailAccount, EmailFolder, User, Attachment, Report, ReportCategory, TargetList, Lead, GoogleContactsPair, VoipMessage, Document, DocumentFolder, Contact, Task, CampaignLogRecord, EmailQueueItem, MassEmail, Campaign, CampaignTrackingUrl, Opportunity, OpportunityItem, Product, ProductCategory, ProductBrand, Call, GoogleCalendar, Meeting, GoogleCalendarUser, GoogleCalendarRecurrentEvent, EmailTemplate, Case, KnowledgeBaseArticle, KnowledgeBaseCategory, Portal, Note, PortalRole, Preferences, Role, EmailFilter, ShippingProvider, Tax] [] []
[2018-03-20 16:19:19] Espo.DEBUG: DBAL: Table [entity_team] exists. [] []
[2018-03-20 16:19:19] Espo.DEBUG: Schema\Converter - End: building schema [] []
[2018-03-20 16:19:19] Espo.INFO: SCHEMA, Execute Query: ALTER TABLE `account` ADD comppaiddatei DATE DEFAULT NULL [] []
[2018-03-20 16:19:51] Espo.DEBUG: Schema\Converter - Start: building schema [] []
[2018-03-20 16:19:51] Espo.DEBUG: DBAL: Table [entity_team] exists. [] []
[2018-03-20 16:19:51] Espo.DEBUG: Schema\Converter - End: building schema [] []
[2018-03-20 16:33:12] Espo.ERROR: Uncaught Exception ParseError: "syntax error, unexpected ''createdAt'' (T_CONSTANT_ENCAPSED_STRING), expecting ')'" at /var/www/espocrm/data/cache/application/metadata.php line 25335 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ''createdAt'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' at /var/www/espocrm/data/cache/application/metadata.php:25335)"} []
[2018-03-20 16:33:12] Espo.ERROR: Uncaught Exception ParseError: "syntax error, unexpected ',', expecting ';'" at /var/www/espocrm/data/cache/application/metadata.php line 26172 {"exception":"[object] (ParseError(code: 0): syntax error, unexpected ',', expecting ';' at /var/www/espocrm/data/cache/application/metadata.php:26172)"} []
[2018-03-20 16:33:13] Espo.DEBUG: Schema\Converter - Start: building schema [] []
[2018-03-20 16:33:13] Espo.DEBUG: DBAL: Table [entity_team] exists. [] []
[2018-03-20 16:33:13] Espo.DEBUG: Schema\Converter - End: building schema [] []