When an announcement is prepared in the OCS administrator interface, and sent to people having signed up for notifications of site updates, a problem arises.
A blank screen occurs together with the following message in the Apache error-log:
PHP Fatal error: Call to undefined method Conference::getLocalizedTitle() in lib/pkp/classes/notification/NotificationManager.inc.php
on line 115, referer: /index.php/DNP/index/manager/createAnnouncement
The error-causing line is shown in context below:
$mail->assignParams(array(
'notificationContents' => $notificationContents,
'url' => $notification->getLocation(),
'siteTitle' => $context->getLocalizedTitle(),
'unsubscribeLink' => Request::url(null, 'notification', 'unsubscribeMailList')
));
As a consequence, notifications by mail are not delivered, at least not to unregistered users (identity was succesfully confirmed via reply to confirmation mail).
Another announcement-related problem: Even after announcements are deleted in the administrator-interface, they still appear when Notification/View is selected without logging in (at least if not all announcements are deleted). Example: At
http://www.DNPsymposium.org/ you will find 3 similar announcements (equal content). Three announcements with different content were created, and two of them were subsequently deleted, so the list should only have one message (the latest).
Any ideas of the causes? I am using PHP 5.3 and OCS 2.3.5 with currently available patches installed.
Thanks,
Lars