Custom Sidebars apply_filters error?

Hi, I'm getting an error from custom sidebars pro everytime I try to add a widget to a custom sidebar: Missing argument for apply_filters(), called in home2/jacky2/public_html/wp-includes/plugin.php

  • Vaughan

    Hi Jacky,

    Hope you're well?

    This has already been reported as a bug and the developer is working to fix this, hopefully we should have an update out soon.

    In the meantime as a workaround, you can add the fix yourself?

    open up & edit the following file;

    /wp-content/plugins/custom-sidebars/inc/class-custom-sidebars-visibility.php

    Find the following on line 531:

    if ( null === $Result && apply_filters( 'ms_active' ) ) {

    replace with:

    if ( null === $Result && apply_filters( 'ms_active', false ) ) {

    Find the following on line 750

    if ( apply_filters( 'ms_active' ) ) {

    replace with;

    if ( apply_filters( 'ms_active', false ) ) {

    Hope this helps

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.