Fatal error: Call to undefined function bean_min_version() in .../bean/bean_admin_ui/bean_admin_ui.install on line 22
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | bean-1541968.patch | 551 bytes | alexweber |
Fatal error: Call to undefined function bean_min_version() in .../bean/bean_admin_ui/bean_admin_ui.install on line 22
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | bean-1541968.patch | 551 bytes | alexweber |
Comments
Comment #1
alexweber commentedAdding a call to
drupal_load('module', 'bean');inside the hook_schema() fixes the error but there's gotta be a more efficient way of doing this, maybe include_once()Comment #2
alexweber commentedI've given this some thought and the only "elegant" fix I can come up with is to hardcore the min and current versions in hook_schema() to avoid the fatal error.
Comment #3
indytechcook commented@alexweber that's a good fix. It's a separate module and probably a good practice anyway.
Comment #4
indytechcook commentedhttp://drupal.org/commitlog/commit/22232/8e9568b6c875ff3811f23bffa6e9612...
Comment #5
alexweber commented@indytechcook awesome! :)