Quote:
Originally Posted by crazy4bass
Got this error on vb 3.8.1
|
The foreach() error, I believe, is a conflict with the passiveVid mod. You'll want to find this in the "passiveVid - Showthread Replacement" plugin at hook location "postbit_display_complete":
Code:
foreach ($passiveVid as $k => $v) {
if ( $this->registry->options['passiveVid_sites'] & $v['id'] ) {
$this->post['message'] = preg_replace_callback($v['string'],create_function('$matches',$v['replacement']),$this->post['message']);
}
}
And replace it with this:
Code:
if (is_array($passiveVid)) {
foreach ($passiveVid as $k => $v) {
if ( $this->registry->options['passiveVid_sites'] & $v['id'] ) {
$this->post['message'] = preg_replace_callback($v['string'],create_function('$matches',$v['replacement']),$this->post['message']);
}
}
}