Call to undefined function
cardentey - December 24, 2008 - 07:49
| Project: | Statistics Advanced Settings |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Dave Reid |
| Status: | closed |
Jump to:
Description
With cache enabled I get the following error:
Fatal error: Call to undefined function drupal_set_header() in /home/sobfam/public_html/sites/all/modules/statistics_advanced/statistics_advanced.module on line 110
Thank you.

#1
Yep I just noticed this on my own site. This will be fixed shortly.
#2
Note to myself to use a combination of:
<?phpfunction _statistics_advanced_is404or403() {
function_exists('headers_list')
function_exists('drupal_set_header')
global $base_root; db_result(db_query("headers FROM {cache_page} WHERE cid = '%s'", $base_root . request_uri()));
}
?>
#3
ditto... does the current dev fix this?
#4
Fixed in 6.x-1.x. Sorry for the delay, I've been having some major laptop problems. :/
#5
Thanks... :-)
#6
Automatically closed -- issue fixed for 2 weeks with no activity.