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.
I'm getting the following error on a fairly vanilla install of Open Enterprise at http://pmpropertyservices.co.uk
Notice: Undefined variable: replacements in uuid_tokens() (line 95 of /home/pmproper/public_html/sites/all/modules/uuid/uuid.tokens.inc).
I first noticed this after installing the Webform app, so have tried disabling and then uninstalling, but the error still shows.
Any ideas?
Comment | File | Size | Author |
---|---|---|---|
#6 | uuid_fix_missing_var_1536194.patch | 280 bytes | trailerparkopera |
Comments
Comment #1
TimelessDomain CreditAttribution: TimelessDomain commentedAccording to #1428952: Alpha3 causes Notice: Undefined variable: replacements in uuid_tokens() (line 95 of ...sites\all\modules\uuid\uuid.tokens.) you should update to the latest version of UUID
Comment #2
August1914 CreditAttribution: August1914 commentedSee http://drupal.org/node/1428952, although note that the latest release is still 1.0-alpha3 and the fix is apparently in a dev build. In the meantime, if you want, you can patch your own version by just adding the line
$replacements = arrary();
at the beginning of function uuid_tokens in uuid.tokens.inc, then the notice will go away, and you can wait for the fix in uuid to make it at least to an alpha...
Comment #3
stanoman CreditAttribution: stanoman commentedCode worked for me, just had to correct it to:
$replacements = array();
Comment #4
Dubber Dan CreditAttribution: Dubber Dan commentedThanks that did the trick
Comment #5
jackhutton CreditAttribution: jackhutton commentedthank you for this post.. worked for me.
Comment #6
trailerparkopera CreditAttribution: trailerparkopera commentedHere's a patch that fixes this in the UUID .dev version
Comment #7
HyperD CreditAttribution: HyperD commentedPlease pay attention to the little misspelling:
$replacements = array();
and not
$replacements = arrary();
;)
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedThank you!