PHP Notices for undefined 'status_header' and 'query'
-
I am getting PHP notices about
$batcache->status_header
and$batcache->query
not being defined. If I addarray( 'status_header ' => false, 'query' => array() )
to be$batcache
config, then these errors go away. These keys should be declared in the class definition. The notices get generated on:117:
'status_header' => $this->status_header,
248:'query' => $batcache->query,
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP Notices for undefined 'status_header' and 'query'’ is closed to new replies.