While looking at other items in the php-error log I found this line?
I am not sure if it is a bug or not but thought it might be a good idea to report it
LINE 5:
foreach ((array)VBSHOUT::$cache['instance'] as $instanceid => $instance)
Thank you
Mick
I am not sure if it is a bug or not but thought it might be a good idea to report it

Code:
Class 'VBSHOUT' not found in /**********/dbtech/vbshout_pro/hooks/pmdata_postsave_recipient.php on line 5
PHP:
<?php
global $vbphrase;
$pmid = $this->dbobject->insert_id();
foreach ((array)VBSHOUT::$cache['instance'] as $instanceid => $instance)
{
if (!$instance['options']['enablepms'] OR !$instance['options']['enablepmnotifs'])
{
// Not having notices here
continue;
}
// Insert the shout
$shout = VBSHOUT::initDataManager('Shout', $this->registry, ERRTYPE_ARRAY);
$shout->set_info('automated', true);
$shout->set('message', construct_phrase(
$vbphrase['dbtech_vbshout_i_sent_you_a_forum_pm_x'],
$this->registry->options['bburl'],
$this->registry->session->vars['sessionurl'],
$pmid,
$this->pmtext['title']
))
->set('type', VBSHOUT::$shouttypes['pm'])
->set('userid', $fromuserid)
->set('instanceid', $instanceid)
->set('id', $userid);
$shout->save();
unset($shout);
}
?>
LINE 5:
foreach ((array)VBSHOUT::$cache['instance'] as $instanceid => $instance)
Thank you
Mick