my moderator encountered a strange problem: When we visit a certain forum of our board or a subforum of the mentioned forum, we get this debug notice:
[phpBB Debug] PHP Notice: in file /phpbb_seo/phpbb_seo_class.php on line 467: Undefined index: t
This debug notice is repeated 6 respectively 32 times - it seems to depend on the number of topics in the forum/subforum. And as I said, it only happens in a certain forum and its subforum, not in the complete board.
These are the lines 454-473 in my phpbb_seo_class.php:
- Code: Select all
function viewtopic_adv() {
global $phpbb_root_path;
$this->filter_url($this->seo_stop_vars);
$this->path = $this->seo_path['phpbb_urlR'];
if ( !empty($this->get_vars['p']) ) {
$this->url = $this->seo_static['post'] . $this->get_vars['p'] . $this->seo_ext['post'];
unset($this->get_vars['p'], $this->get_vars['f'], $this->get_vars['t'], $this->get_vars['start']);
return;
}
if ( !@empty($this->seo_url['topic'][$this->get_vars['t']]) ) {
// Filter default params
$this->filter_get_var($this->phpbb_filter['topic']);
$this->{$this->rewrite_functions[$phpbb_root_path]['topic_pagination']}($this->seo_ext['topic']);
$this->url = $this->seo_url['topic'][$this->get_vars['t']] . $this->seo_delim['topic'] . $this->get_vars['t'] . $this->start;
unset($this->get_vars['t'], $this->get_vars['f'],$this->get_vars['p']);
return;
}
$this->path = $this->seo_path['phpbb_url'];
return;
}
Line 467 is:
- Code: Select all
$this->url = $this->seo_url['topic'][$this->get_vars['t']] . $this->seo_delim['topic'] . $this->get_vars['t'] . $this->start;
I use Advanced SEO URL, No dupe, Zero dupe and Optimal titles MOD.
Regards
Wolfgang

English |
French



