• Hi,

    In order to fix these 5 notices in PHP code: http://awesomescreenshot.com/09f4jswt5c

    Please do the following changes:

    File inc/class-custom-sidebars-explain.php:164:

    from return 'on' == @$_SESSION['cs-explain']; to return isset( $_SESSION['cs-explain'] ) && 'on' == $_SESSION['cs-explain'];

    File wp-content/plugins/custom-sidebars/inc/class-custom-sidebars.php:287-299:

    Add these lines before line 285:

    // set default values to the previous options
    $Options = array_merge(
    	array(
    		'defaults'        => false,
    		'post_type_pages' => false,
    		'category_posts'  => false,
    		'category_pages'  => false,
    	), $Options
    );

    https://wordpress.org/plugins/custom-sidebars/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey there Primoz Cigler,

    Hope you’re well today and thank you for posting here with this solution 🙂

    Have a great day!

    Cheers,
    Bojan

    Thread Starter Primoz Cigler

    (@cyman)

    Hi,

    Will this be fixed in the next version?

    Hey again Primoz Cigler,

    I’ve tried to check for those notices on my installation but I was not getting those notices displayed on my end.

    I’ll definitely notify our plugin developer on this so he can check this out and possibly implement in one of the following versions of the plugin 🙂

    Best regards,
    Bojan

    Thread Starter Primoz Cigler

    (@cyman)

    Hey there Bojan,

    Yes, please do. Even if he cannot get the same notices, he should still implement these changes as validating your data is a good practice and definitely cannot do any harm.

    Hey again Primoz Cigler,

    Completely agreed with you on that which is why I already suggested that to plugin developer so he can check it out and possibly implement it to the plugin.

    Once again thank you for reporting that, have a great day!

    Cheers,
    Bojan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fix for the 5 PHP notices’ is closed to new replies.