serendipity_plugin_mycalendar.php bug?
Posted: Sat Sep 09, 2006 9:34 am
Hello,
I think there is a bug in serendipity_plugin_mycalendar.php plugin (1.17 2006/08/15 07:36:04), serendipity 1.0.
In administrative menu for plugin selection, when I press the link for sidebar plugin list this appears:
Here is what is around 145 line:
I deleted serendipity_event_mycalendar folder from the plugins folder and then the sidebar plugins list appeared. Then returned back the plugin at its place and the error returned too.
Note: I used this plugin for several months, then uninstalled it but did not deleted from the plugins folder.
I think there is a bug in serendipity_plugin_mycalendar.php plugin (1.17 2006/08/15 07:36:04), serendipity 1.0.
In administrative menu for plugin selection, when I press the link for sidebar plugin list this appears:
Code: Select all
Fatal error: Can't use function return value in write context in D:\biz\apps\serendipity\plugins\serendipity_event_mycalendar\serendipity_plugin_mycalendar.php on line 145Code: Select all
$dayout = serendipity_strftime($datefm, $item['eventdate'], false);
/*145 line*/if (!empty($item['eventdate2']) && $item['eventdate'] != $item['eventdate2'] && trim($datefm2) != '') {
$dayout .= '<span class="s9y_mc_date2"> - ' . serendipity_strftime($datefm2, $item['eventdate2'], false) . '</span>';
}Note: I used this plugin for several months, then uninstalled it but did not deleted from the plugins folder.