WordPress.org

Ready to get started?Download WordPress

Forums

YAPB Sidebar Widget
warning error (3 posts)

  1. Tifa
    Member
    Posted 3 years ago #

    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

  2. rullator
    Member
    Posted 2 years ago #

    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) {
    .

  3. blindscope
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic