You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2015-04-20 20:01:10

elliot01
Member
From: England
Registered: 2010-03-23
Posts: 206

[SOLVED] v0.85.3 fatal error with project

Hello,

We just upgraded from GLPI v0.85.2 to v0.85.3.

First thing I did was check out the new projects functionality. I clicked into a project and changed the 'Type' to one of our pre-defined options. Browser window goes blank and I get the following error in my log:

[Mon Apr 20 18:55:43 2015] [error] [client 10.11.6.200] PHP Fatal error:  Cannot use object of type Project as array in /usr/share/glpi/inc/notificationtarget.class.php on line 578, referer: http://helpdesk.my-domain.local/front/project.form.php?id=3

Help!

Last edited by elliot01 (2016-10-07 16:01:30)


1500+ Computers / 1100+ users

Offline

#2 2015-04-20 20:09:11

elliot01
Member
From: England
Registered: 2010-03-23
Posts: 206

Re: [SOLVED] v0.85.3 fatal error with project

Hmm, okay, weird thing is I can't now replicate it.

I try the same process on another project and it goes through fine. I will continue to test.


1500+ Computers / 1100+ users

Offline

#3 2015-04-20 20:11:59

elliot01
Member
From: England
Registered: 2010-03-23
Posts: 206

Re: [SOLVED] v0.85.3 fatal error with project

I just had it happen again, when changing the 'State' of a project from <blank> to 'Processing'.

Same PHP error:

[Mon Apr 20 19:10:52 2015] [error] [client 10.11.6.200] PHP Fatal error:  Cannot use object of type Project as array in /usr/share/glpi/inc/notificationtarget.class.php on line 578, referer: http://helpdesk.my-domain.local/front/project.form.php?id=2

Last edited by elliot01 (2016-10-07 16:01:05)


1500+ Computers / 1100+ users

Offline

#4 2015-04-21 09:45:03

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: [SOLVED] v0.85.3 fatal error with project

I can(t reproduce.
Have you define a notification? With witch recipients?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#5 2015-04-21 09:52:42

ddurieux
Plugins Dev
From: Propières, France
Registered: 2005-06-17
Posts: 7,521

Re: [SOLVED] v0.85.3 fatal error with project

Offline

#6 2015-04-22 16:52:34

bertrandc
Member
Registered: 2010-05-12
Posts: 60

Re: [SOLVED] v0.85.3 fatal error with project

Thank's for these patch, it solved my problem

Last edited by bertrandc (2015-04-22 16:53:21)

Offline

#7 2015-04-22 18:04:46

elliot01
Member
From: England
Registered: 2010-03-23
Posts: 206

Re: [SOLVED] v0.85.3 fatal error with project

Ah cool. Thank you!


1500+ Computers / 1100+ users

Offline

Board footer

Powered by FluxBB