ticgal / one-timesecret

A One-Time Secret integration with GLPI
https://tic.gal/en/project/a-one-time-secret-integration-share-your-passwords-securely/
GNU Affero General Public License v3.0
3 stars 4 forks source link

PHP User Warning (512): "timeline_answer_actions" hook callback result should be an array, "NULL" returned. in /glpi/src/CommonITILObject.php at line 6633 #37

Closed jcervantes-sipecom closed 1 year ago

jcervantes-sipecom commented 1 year ago

Hi, I'm getting the error from the title, the support in GLPI (https://github.com/glpi-project/glpi/issues/15040) reference to this plugin so I'm opening the case here.

GLPI Version

10.0.7

Plugin Version

version: 2.0.0 State: Enabled
Install Method: Marketplace

Bug description

I don't know where this error is trigger and how, but I'm getting a lot of that:

glpiphplog.WARNING: *** PHP User Warning (512): "timeline_answer_actions" hook callback result should be an array, "NULL" returned. in /glpi/src/CommonITILObject.php at line 6633 Backtrace : src/CommonITILObject.php:6633 trigger_error() src/Ticket.php:4406 CommonITILObject->getTimelineItemtypes() src/CommonGLPI.php:676 Ticket->showForm() ajax/common.tabs.php:116 CommonGLPI::displayStandardTab() public/index.php:73 require()

Relevant log output

[2023-06-28 10:20:57] glpiphplog.WARNING:   *** PHP User Warning (512): "timeline_answer_actions" hook callback result should be an array, "NULL" returned. in /glpi/src/CommonITILObject.php at line 6633
  Backtrace :
  src/CommonITILObject.php:6633                      trigger_error()
  src/Ticket.php:4406                                CommonITILObject->getTimelineItemtypes()
  src/CommonGLPI.php:676                             Ticket->showForm()
  ajax/common.tabs.php:116                           CommonGLPI::displayStandardTab()
  public/index.php:73                                require()

[2023-06-28 10:20:57] glpiphplog.WARNING:   *** PHP User Warning (512): "timeline_answer_actions" hook callback result should be an array, "NULL" returned. in /glpi/src/CommonITILObject.php at line 6633
  Backtrace :
  src/CommonITILObject.php:6633                      trigger_error()
  src/Ticket.php:4406                                CommonITILObject->getTimelineItemtypes()
  src/CommonGLPI.php:676                             Ticket->showForm()
  ajax/common.tabs.php:116                           CommonGLPI::displayStandardTab()
  public/index.php:73                                require()

[2023-06-28 10:21:23] glpiphplog.WARNING:   *** PHP User Warning (512): "timeline_answer_actions" hook callback result should be an array, "NULL" returned. in /glpi/src/CommonITILObject.php at line 6633
  Backtrace :
  src/CommonITILObject.php:6633                      trigger_error()
  src/Ticket.php:4406                                CommonITILObject->getTimelineItemtypes()
  src/CommonGLPI.php:676                             Ticket->showForm()
  ajax/common.tabs.php:116                           CommonGLPI::displayStandardTab()
  public/index.php:73                                require()

[2023-06-28 10:22:05] glpiphplog.WARNING:   *** PHP User Warning (512): "timeline_answer_actions" hook callback result should be an array, "NULL" returned. in /glpi/src/CommonITILObject.php at line 6633
  Backtrace :
  src/CommonITILObject.php:6633                      trigger_error()
  src/Ticket.php:4406                                CommonITILObject->getTimelineItemtypes()
  src/CommonGLPI.php:676                             Ticket->showForm()
  ajax/common.tabs.php:116                           CommonGLPI::displayStandardTab()
  public/index.php:73                                require()

[2023-06-28 10:22:28] glpiphplog.WARNING:   *** PHP User Warning (512): "timeline_answer_actions" hook callback result should be an array, "NULL" returned. in /glpi/src/CommonITILObject.php at line 6633
  Backtrace :
  src/CommonITILObject.php:6633                      trigger_error()
  src/Ticket.php:4406                                CommonITILObject->getTimelineItemtypes()
  src/CommonGLPI.php:676                             Ticket->showForm()
  ajax/common.tabs.php:116                           CommonGLPI::displayStandardTab()
  public/index.php:73                                require()

[2023-06-28 10:25:02] glpiphplog.WARNING: Test logger
[2023-06-28 10:29:03] glpiphplog.WARNING:   *** PHP User Warning (512): "timeline_answer_actions" hook callback result should be an array, "NULL" returned. in /glpi/src/CommonITILObject.php at line 6633
  Backtrace :
  src/CommonITILObject.php:6633                      trigger_error()
  src/Ticket.php:4406                                CommonITILObject->getTimelineItemtypes()
  src/CommonGLPI.php:676                             Ticket->showForm()
  ajax/common.tabs.php:116                           CommonGLPI::displayStandardTab()
  public/index.php:73                                require()