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?



Status:Active» Closed (duplicate)

See 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...

Code worked for me, just had to correct it to:
$replacements = array();

Thanks that did the trick

thank you for this post.. worked for me.

new280 bytes

Here's a patch that fixes this in the UUID .dev version

Please pay attention to the little misspelling:

$replacements = array();

and not $replacements = arrary();


Thank you!