Fix for the 5 PHP notices
-
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'];
toreturn 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 );
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Fix for the 5 PHP notices’ is closed to new replies.