I just got the same error message, after upgrading to a new server.
Change line 241 auf the file “wp-content/plugins/yapb-sidebar-widget/YapbSidebarWidget.class.php” from
function filterYapbOptions(&$options) {
to
function filterYapbOptions($options) {
.
okay, just discovered that the plugin statpress is not under development anymore..
instead someone else is keeping it alive and called it statpress-reloaded:
http://ww.wp.xz.cn/extend/plugins/statpress-reloaded/
same problem here..
the “?” is important, if you don’t use pretty links in your permalink section.
but you do use pretty links, so open statpress.php and have a look at line 571 and get rid of the .”/?”. so change the line from
[…] href='”.get_bloginfo(‘url’).”/?”.$rk->urlrequested.” […]
to
[…] href='”.get_bloginfo(‘url’).$rk->urlrequested.” […]
do it the same way in line 580, 715.
notice, i’m using version: 1.2.9.2 of the plugin.
best, mike