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
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

Dave Reid - December 26, 2008 - 21:27
Assigned to:Anonymous» Dave Reid

Yep I just noticed this on my own site. This will be fixed shortly.

#2

Dave Reid - December 26, 2008 - 21:35

Note to myself to use a combination of:

<?php
function _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

mikeytown2 - December 31, 2008 - 04:27

ditto... does the current dev fix this?

#4

Dave Reid - January 14, 2009 - 02:08
Status:active» fixed

Fixed in 6.x-1.x. Sorry for the delay, I've been having some major laptop problems. :/

#5

cardentey - January 15, 2009 - 09:08

Thanks... :-)

#6

System Message - January 29, 2009 - 09:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.