Recently after successfully upgrading to itop 3 I have noted a new issue which I haven't been able to resolve.
The issues occurs when a user tried to create a change to ticket and attaches a CI then click create.
The following error occurs:
Notice: Object of class lnkFunctionalCIToTicket could not be converted to int in /var/www/html/core/dbobjectset.class.php on line 1091
Fatal error: Uncaught Error: Call to a member function Get() on null in /var/www/html/core/attributedef.class.inc.php:1771 Stack trace: #0 /var/www/html/core/dbobject.class.php(4373): AttributeLinkedSet->GetForTemplate() #1 /var/www/html/core/metamodel.class.php(7532): DBObject->GetForTemplate() #2 /var/www/html/core/action.class.inc.php(416): MetaModel::ApplyParams() #3 /var/www/html/core/action.class.inc.php(347): ActionEmail->_DoExecute() #4 /var/www/html/core/trigger.class.inc.php(120): ActionEmail->DoExecute() #5 /var/www/html/core/trigger.class.inc.php(234): Trigger->DoActivate() #6 /var/www/html/core/dbobject.class.php(2930): TriggerOnObject->DoActivate() #7 /var/www/html/application/cmdbabstract.class.inc.php(4446): DBObject->DBInsertNoReload() #8 /var/www/html/env-production/itop-tickets/model.itop-tickets.php(145): cmdbAbstractObject->DBInsertNoReload() #9 /var/www/html/pages/UI.php(1108): Ticket->DBInsertNoReload() #10 {main} thrown in /var/www/html/core/attributedef.class.inc.php on line 1771
The error seems to be referring to the inability to convert LnkFunctionalCItoTicke class object to an int.
Not sure why or if it should be doing that.
Any suggestions as to a fix would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Recently after successfully upgrading to itop 3 I have noted a new issue which I haven't been able to resolve.
The issues occurs when a user tried to create a change to ticket and attaches a CI then click create.
The following error occurs:
Notice: Object of class lnkFunctionalCIToTicket could not be converted to int in /var/www/html/core/dbobjectset.class.php on line 1091
Fatal error: Uncaught Error: Call to a member function Get() on null in /var/www/html/core/attributedef.class.inc.php:1771 Stack trace: #0 /var/www/html/core/dbobject.class.php(4373): AttributeLinkedSet->GetForTemplate() #1 /var/www/html/core/metamodel.class.php(7532): DBObject->GetForTemplate() #2 /var/www/html/core/action.class.inc.php(416): MetaModel::ApplyParams() #3 /var/www/html/core/action.class.inc.php(347): ActionEmail->_DoExecute() #4 /var/www/html/core/trigger.class.inc.php(120): ActionEmail->DoExecute() #5 /var/www/html/core/trigger.class.inc.php(234): Trigger->DoActivate() #6 /var/www/html/core/dbobject.class.php(2930): TriggerOnObject->DoActivate() #7 /var/www/html/application/cmdbabstract.class.inc.php(4446): DBObject->DBInsertNoReload() #8 /var/www/html/env-production/itop-tickets/model.itop-tickets.php(145): cmdbAbstractObject->DBInsertNoReload() #9 /var/www/html/pages/UI.php(1108): Ticket->DBInsertNoReload() #10 {main} thrown in /var/www/html/core/attributedef.class.inc.php on line 1771
The error seems to be referring to the inability to convert LnkFunctionalCItoTicke class object to an int.
Not sure why or if it should be doing that.
Any suggestions as to a fix would be appreciated.
Hello,
Did you try to check your DB consistency ? (System / Database integrity)