Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
#2 | require_folder-2629324-2.patch | 265 bytes | mscharley |
Comments
Comment #2
mscharley CreditAttribution: mscharley as a volunteer commentedThis patch resolves it by ensuring the folder used by the development profile is created during `hook_install()`.
Comment #3
mscharley CreditAttribution: mscharley as a volunteer commentedComment #4
ParisLiakos CreditAttribution: ParisLiakos commentedhmm, public://monolog is configurable though in the handler settings. hardcoding it here doesnt seem correct
Comment #5
ParisLiakos CreditAttribution: ParisLiakos commentedshouldnt be a problem after #2651808: Remove dependencies to entity & plugin API, use container parameters instead