Closed (fixed)
Project:
Relation
Version:
7.x-1.0-rc2
Component:
Relation_add
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2012 at 19:24 UTC
Updated:
30 Mar 2012 at 08:19 UTC
I've installed a new Drupal 7.12 with the minimum required modules for the relation module for testing.
But I cannot create a relation type. I consistently receive this error:
Call to undefined function ctools_export_crud_load_multiple() at line 453.
And when searching for “ctools_export_crud_load_multiple” using an IDE, I receive a single result, the one at line 453.
Comments
Comment #1
futurist commentedThis looks like a duplicate of issue #1352018: Can't create a new relation type.
And issue #1362064: Cannot create or edit relation type.
In #6 davidwatson says the dependency on CTools is in the process of being removed. (...) In the meantime, make sure that you're running the latest dev release of CTools, as 7.x-1.0-rc1 is incompatible. This seems to still apply in the current 1.0-rc2 of Relation.
Very confusing indeed, as the project page says relation, while very capable, is a small module which works with many contrib modules but requires none.
I agree it should be made clear in the documentation/readme whether CTools is actually required and if yes, which version is compatible with Relation. But that's not going to happen: Dependency on CTools 7.x-1.x-dev needs to be more clearly documented.
Comment #2
xmacinfo@futurist: There is a eight-month gap between the latest release of Ctools and the dev version. Now it’s working.
Changing to “needs work” for a documentation clarification.
Comment #3
futurist commentedI think you missed my point: I too went through the process of first installing no CTools (because I assumed the dependency had already been removed), then the latest CTools release (getting the fatal error) and finally, after some digging in the issue queue, the dev version. I'm all for updating the documentation, because I think that with a consistent documentation people (we) could more readily adopt this new and promising module, but the maintainers said it won't be done. I just summarized that.
Comment #4
xmacinfoI did not miss the point. I just taught maintainers were open to update the documentation. Let’s marked this as fixed then. Better fixed than locked!
Comment #5
Sahin commentedLets lock, chx and rock...
Comment #6
choster commentedNote for returning visitors: the assumption in the code is that if ctools is installed, then this function is available, and if ctools is not installed to use other logic. So if, like me, you are stuck on ctools 7.x-1.0-rc1, you'll need to disable it entirely to add relation types and/or relations.
Comment #7
xmacinfo@Sahin: Locking an issue is not always the thing to do. It forces the creation of a new issue whereas it could have been answered and followed properly on the original issue.
Comment #8
chx commented#6 is a great idea. We can do that. Will do that.
Comment #9
chx commentedAnd did that.
Comment #11
Ludicist commentedI've recently added the relation module and I'm getting the message :'Fatal error: Call to undefined function ctools_export_crud_load_multiple()'. I'm a bit confused about what I might be getting wrong and whether or not the issue has been resolved. I've followed the various bits of advice (use the dev version of ctools/disable ctools) but seem to have got stuck in a loop. Any help would be greatly appreciated.
Comment #11.0
Ludicist commentedMissing line info for the error.