WordPress.org

Support

Support » Plugins and Hacks » YAPB Sidebar Widget » [Plugin: YAPB Sidebar Widget] warning error

[Plugin: YAPB Sidebar Widget] warning error

  • Hi,

    We recently moved from another server. And I get this error:

    Warning: Parameter 1 to YapbSidebarWidget::filterYapbOptions() expected to be a reference, value given in /home-root/wp-includes/plugin.php on line 166

    Any ideas?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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) {
    .

    I had this error too and thanks to your help rullator, it’s fine.

    But I get another error message whenever the YAPB sidebar widget is in use. The message displays directly on the right in the sidebar:

    Warning: Parameter 1 to YapbSidebarWidget::onDrawLocal() expected to be a reference, value given in /var/www/XXXXX/html/blog/wp-includes/widgets.php on line 891

    Any help?

    Edit

    Ok found it myself.
    I changed the line
    function onDrawLocal($args) {
    to
    function onDrawLocal(args) {
    in
    yapb-sidebar-widget\YapbSidebarWidget.class.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: YAPB Sidebar Widget] warning error’ is closed to new replies.
Skip to toolbar