Closed (fixed)
Project:
Google Tag
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 May 2018 at 22:40 UTC
Updated:
10 Oct 2018 at 16:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
solotandem commentedThanks for reporting this.
Comment #5
cruno commentedThis issue is still occurring in version 1.1. The problem is the module_load_include() tries to get the path for google_tag during hook_requirements before the module is actually enabled, so an empty path is returned.
To reproduce this issue:
Error: Call to undefined function _google_tag_is_writable() in /home/vagrant/docroot/docroot/modules/contrib/google_tag/google_tag.install on line 33 #0 /home/vagrant/docroot/docroot/core/includes/install.inc(976): google_tag_requirements('install')I'm adding a patch which adds the two functions, which live in google_tag.module, and are called in hook_requirements.
Comment #6
cruno commentedThe patch I wrote above works for 1.x-dev. This one should work for 1.1.
Comment #7
solotandem commentedThanks but this was fixed a month ago. See #2997065: Module can't be installed via an install profile.