I get this error when running the latest updates.

7002 Add vocabulary defaults for all configured vocabularies.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kyletaylored’s picture

Interesting. I'm not sure if this would be the patch since you would think the functions would already be available, but just throw a require_once in at the top and call it a day.

<?php

require_once('taxonomy_access.module');
stevenx’s picture

#1 works, thanks

quinnanya’s picture

#1 worked for me, too. Thanks!

pifagor’s picture

Сreating patch

pifagor’s picture

Status: Active » Needs review
KimNyholm’s picture

Maybe it should be considered to use drupal_load()
From documentation of hook_update_N

Not all module functions are available from within a hook_update_N() function. In order to call a function from your mymodule.module or an include file, you need to explicitly load that file first.

kyletaylored’s picture

True, probably a better choice to use drupal_load().

pifagor’s picture

Issue tags: +Needs tests
ldpm’s picture

Confirmed that patch from #7 works for me.