Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm getting a lot of these warnings:
Notice: Use of undefined constant PERMISSIONS_VARIABLE_CONFIG_PATH - assumed 'PERMISSIONS_VARIABLE_CONFIG_PATH' in permissions_variable_menu() (line 57 of ...\sites\all\modules\contrib\permissions_variable\permissions_variable.module).
For some reason Drupal's module_load_include function isn't working and https://api.drupal.org/api/drupal/includes!module.inc/function/module_lo... recommended using require_once instead, which worked. See attached patch.
Comment | File | Size | Author |
---|---|---|---|
#6 | permissions_variable-undefined_constant_notices-2489688-6.patch | 405 bytes | emmonsaz |
Comments
Comment #1
emmonsaz CreditAttribution: emmonsaz commentedComment #2
emmonsaz CreditAttribution: emmonsaz commentedComment #3
emmonsaz CreditAttribution: emmonsaz as a volunteer commentedComment #5
thedavidmeister CreditAttribution: thedavidmeister commentedHey, thanks for the patch. That behaviour you've reported is pretty weird, but I'm happy to swap it out with require.
Can we please get a re-rolled patch that is generated from inside the module directory rather than outside it?
Comment #6
emmonsaz CreditAttribution: emmonsaz as a volunteer commentedLet's see if this one works...
Comment #7
emmonsaz CreditAttribution: emmonsaz as a volunteer commentedComment #9
thedavidmeister CreditAttribution: thedavidmeister commentedComment #11
emmonsaz CreditAttribution: emmonsaz as a volunteer commented