[ticket/11574] Create phpbb_log object before using it.

PHPBB3-11574