PHP Fatal error: Call to undefined function node_get_types() in [...]/sites/all/modules/seo_checker/seo_checker.install on line 19
and
PHP Fatal error: Call to undefined function node_get_types() in [...]/sites/all/modules/seo_checker/inc/seo_checker.admin.inc on line 90
The function is as far as I can tell from the API node_type_get_types(), so in seo_checker.admin.inc changed line 90ish from
foreach (node_get_types() as $type)
to
foreach (node_type_get_types() as $type)
and line 19ish in seo_checker.install from
foreach (node_get_types('names') as $type => $name)
to
foreach (node_type_get_types('names') as $type => $name)
Currently working on
* Notice: Undefined index: seo_check_results in theme_seo_check_results() (line 77 of [...]/sites/all/modules/seo_checker/inc/seo_checker.theme.inc).
* Notice: Undefined variable: user in seo_checker_perform_checks() (line 139 of [...]/sites/all/modules/seo_checker/seo_checker.module).
* Notice: Undefined variable: user in seo_checker_perform_checks() (line 139 of [...]/sites/all/modules/seo_checker/seo_checker.module).
* Notice: Trying to get property of non-object in seo_checker_perform_checks() (line 139 of [...]/sites/all/modules/seo_checker/seo_checker.module).
though the last one I think is more a drama with my version of php than anything else. Either way, they're taking longer :)
Comments
Comment #1
ryivhnn CreditAttribution: ryivhnn commentedOops sorry about the double post, no idea how that happened :S
Comment #2
David Latapie CreditAttribution: David Latapie commentedI have the same message with Drupal 7 RC3.
"Fatal error: Call to undefined function node_get_types() in /[...]/sites/all/modules/seo_checker/seo_checker.install on line 19"
Then I cannot access configuration at all.
It happens when I try to go to the configuration tab of the admin menu (overlay enabled). I had activated only "SEO Compliance Checker" (not the other two submodules).
Comment #3
miruoss CreditAttribution: miruoss commentedHi there
Sorry that it took so long. The 7.x version of this module is still in progress and I have very little time to work on it. Now that Drupal 7 is out, I hope I can make the module stable asap.
About this bug: The fatal should be fixed but there are still notices and I don't recommend the module to be used yet... I just need some time to clean it.
Cheers,
Michael
Comment #4
miruoss CreditAttribution: miruoss commentedThis should be fixed with the next snapshot.