Getting a fatal during installation from drush: "Call to undefined function uuid_sync_all()"

Comments

reszli’s picture

yeap, me too:
PHP Fatal error: Call to undefined function uuid_sync_all() in /sites/all/modules/contrib/uuid/uuid.install on line 49

broon’s picture

Just to clarify, the function is neither in the install file nor in uuid.entity.inc which is included in the install file.

However, it can be found in ./uuid.inc:43:function uuid_sync_all(), so it's just missing an include or the included file is wrong?

alexdmccabe’s picture

Status: Active » Needs review
StatusFileSize
new304 bytes

I had this happen to me on the first install. I found a fix, removed it, and tried to verify that it would break again, but I wasn't able to reproduce it a second time.

Regardless, here's a patch that should prevent this from coming up again.

joseph.olstad’s picture

Status: Needs review » Reviewed & tested by the community

RTBC+

joshf’s picture

Thanks for the patch, alexdmccabe.

In my case, I was able to work around this issue without patching by rebuilding the registry.

skwashd’s picture

@alexdmccabe thanks for the patch. I've merged it.

  • skwashd committed 0707ea6 on 7.x-1.x authored by alexdmccabe
    Issue #2374691 by alexdmccabe: Call to undefined function uuid_sync_all...
hswong3i’s picture

Status: Reviewed & tested by the community » Fixed

So this should now mark as fixed ;-)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.