I had the beta4 version installed and it worked fine. Just installed the beta5 version and got the following error when I ran update.php: Fatal error: Call to undefined function nodereference_explorer_util_get_all_referenceable_node_types() in /Users/xxxx/sites/all/modules/nodereference_explorer/includes/nodereference_explorer.views.inc on line 189. To get the site back, I used Terminal and issued "drush disable nodereference_explorer". I then downloaded the -dev version, ran update.php and everything seemed fine until I enabled the module. When I ran update.php again (after I enabled the module), I got the same error. I will try to re-install the beta4 version.

Drupal core and all the other modules are up to date.

Let me know if you need any other information.

Comments

gnindl’s picture

Status: Active » Needs review

You don't have to run update.php because this module doesn't have any custom database tables. You can simply replace the code without having to enable/disable the module.

Seems that update.php doesn't call hook_init(), that's why the nodereference_explorer.util.inc is not included. Probably the inc file has to be included on line 184 of nodereference_explorer.views.inc like this:

nodereference_explorer_add_inc('includes/nodereference_explorer.util');
Dr Trichome’s picture

Status: Needs review » Fixed

Thanks for your fast reply. Your suggestion fixed the problem.

gnindl’s picture

Assigned: Unassigned » gnindl

Bug fix committed to the repository's development snapshot.

aklievvel’s picture

Thanks, it helped my problem too.

Status: Fixed » Closed (fixed)

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