I am receveing the following error when I goto admin/structure/relation/manage/user_has_survey/fields
I Also see this error if I try to create a relation by calling relation_construct() and then relation_save() ...
Fatal error: Call to undefined function ctools_export_crud_load_multiple() in /Users/david/Sites/2011/dew/master/dist/www/profiles/dewbase/modules/contrib/relation/relation.module on line 354 Call Stack: 0.0001 329344 1. {main}() /Users/david/Sites/2011/dew/master/dist/www/index.php:0 0.0010 383904 2. drupal_bootstrap() /Users/david/Sites/2011/dew/master/dist/www/index.php:20 0.0140 1121232 3. _drupal_bootstrap_full() /Users/david/Sites/2011/dew/master/dist/www/includes/bootstrap.inc:2124 0.0318 2327304 4. menu_set_custom_theme() /Users/david/Sites/2011/dew/master/dist/www/includes/common.inc:4948 0.0318 2327336 5. menu_get_custom_theme() /Users/david/Sites/2011/dew/master/dist/www/includes/menu.inc:1745 0.0328 2342016 6. menu_get_item() /Users/david/Sites/2011/dew/master/dist/www/includes/menu.inc:1730 0.0408 2365264 7. _menu_translate() /Users/david/Sites/2011/dew/master/dist/www/includes/menu.inc:458 0.0408 2365704 8. _menu_load_objects() /Users/david/Sites/2011/dew/master/dist/www/includes/menu.inc:746 0.0409 2366432 9. relation_type_load() /Users/david/Sites/2011/dew/master/dist/www/includes/menu.inc:579 0.0409 2366600 10. relation_get_types() /Users/david/Sites/2011/dew/master/dist/www/profiles/dewbase/modules/contrib/relation/relation.module:337
I am running the following modules from a drush makefile updated to pull the newest of everything including D7.9
- Drupal 7.9
- ctools 1.0-rc1
- entity 1.0-beta1
- relation 1.x-dev
I noticed it's trying to call ctools_include('export'), relation depends on ctools, but ctools export is a separate module that is not labeled as a dependency to Relation. I tried to enable it and drush cc all / drush rr to no avail.
Comments
Comment #1
tenken commentedoops sorry i'm running -dev.
Comment #2
mrsinguyen commentedI also got this error with dev version when create the new relation type (http://127.0.0.1/dev/drupal79/admin/structure/relation/add)
Comment #3
mrsinguyen commentedI think this issue is critical priority
Comment #4
chx commentedI think this is available in ctools -dev but I will do somethng about it.
Comment #5
mrsinguyen commentedYes, This error gone when i use the ctools-dev.
Comment #6
chx commentedComment #10
KingSalibah commentedSame here. Solved by dev version.
Comment #11
chx commentedYeah. There's nothing to do here.
Comment #12
patcon commentedIn case others want to use this without using ctools-dev, here's the relevant patch against ctools-rc1 that will work with drush_make
http://drupal.org/node/1265560#comment-5287064
Comment #13
patcon commentedThanks patcon!
Comment #14
patcon commentedNo problem, citizen!
Comment #15
marafee1243 commentedThere a critical problem in relation module. the error displayed below
Fatal error: Call to undefined function ctools_export_crud_load_multiple() in R:\xampp\htdocs\pmt\sites\all\modules\relation\relation.module on line 397
When i adding a relation type and i am using D7.9 with all latest modules on Drupal.org
Comment #16
chx commentedLocking this issue.