After upgrading from 1.4 to the current dev version the following error message is displayed during update function #7036:
Call to undefined function entity_info() in /var/www/html/cm7t/sites/all/modules/metatag/metatag.install on line 1629
Most probably a dependency is missing here. I couldn't find where function entity_info() is defined. What module is missing?
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | metatag-n2496487-9.patch | 3.51 KB | damienmckenna |
| #2 | metatag-n2496487-2.patch | 1.64 KB | damienmckenna |
Comments
Comment #1
GStegemann commentedComment #2
damienmckennaAnd see, this is why we don't release a new version without testing. X-)
Sorry about that. This patch should fix it.
Comment #3
GStegemann commentedYou're welcome. Is fixed now.
Comment #4
damienmckennaCommitted. Thanks!
Comment #6
nicola85 commentedMaybe you need to change also
if (function_exists('entity_info')) {
in
if (function_exists('entity_get_info')) {
Comment #7
GStegemann commentedI would say 'yes' as well. Sorry, I didn't catch this.
Comment #8
damienmckennaAh yes, thank you.
Comment #9
GStegemann commentedThat patch looks quite different now. But as far as I could test it the patch works. I reset the schema back to 7036 and update funtion did not displayed any errors and the settings are still OK.
Comment #11
damienmckennaCommitted. Thanks again!
Comment #12
damienmckenna@GStegemann: Yeah, the whole reason that function_exists() call was there in the first place was because I was using the wrong function, so when the rest of the code was fixed to use the correct function the entire if(){}/else{} became redundant.
Comment #13
GStegemann commentedI see. So I found in fact two bugs.