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

ryivhnn’s picture

Category: task » bug
miruoss’s picture

Assigned: Unassigned » miruoss
Status: Active » Closed (duplicate)