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?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

TimelessDomain’s picture

August1914’s picture

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

stanoman’s picture

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

Dubber Dan’s picture

Thanks that did the trick

jackhutton’s picture

thank you for this post.. worked for me.

trailerparkopera’s picture

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

HyperD’s picture

Please pay attention to the little misspelling:

$replacements = array();

and not $replacements = arrary();

;)

Anonymous’s picture

Thank you!