When installing monolog via an installation profile I get the following error:

PHP Fatal error:  Call to a member function getPath() on null in /***/core/includes/install.inc on line 942
CommentFileSizeAuthor
#2 require_folder-2629324-2.patch265 bytesmscharley
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mscharley created an issue. See original summary.

mscharley’s picture

FileSize
265 bytes

This patch resolves it by ensuring the folder used by the development profile is created during `hook_install()`.

mscharley’s picture

Title: When installing via an installation profile » getPath() called on NULL during install
ParisLiakos’s picture

Status: Needs review » Needs work

hmm, public://monolog is configurable though in the handler settings. hardcoding it here doesnt seem correct

ParisLiakos’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

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