Problem/Motivation

With Watchdog logging enabled, if a message is being logged before past has been loaded, PastLogger fails with a fatal error due to undefined function past_event_create().

Proposed resolution

Surround the function call with if (function_exists()).

Remaining tasks

How can we add a test for this?

CommentFileSizeAuthor
#2 undefined_function_in-2705295-2.patch477 bytesBambell

Comments

Arla created an issue. See original summary.

Bambell’s picture

StatusFileSize
new477 bytes
Bambell’s picture

Status: Active » Needs review
berdir’s picture

Status: Needs review » Fixed

Thank you, committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.