Suddenly 2 errors appeared on the website blocking the header (including the sites menue) and the whole admin-login-page:
Warning: array_merge(): Argument #2 is not an array in /homepages/3/d723645373/htdocs/wp-content/plugins/cookie-notice/cookie-notice.php on line 102
Warning: Cannot modify header information – headers already sent by (output started at /homepages/3/d723645373/htdocs/wp-content/plugins/cookie-notice/cookie-notice.php:102) in /homepages/3/d723645373/htdocs/wp-includes/pluggable.php on line 1224
This is the code (line 102 mentioned in the errors beginns with ‘general’ and ends at defaults[‘general’] ) )):
// settings
$this->options = array(
'general' => array_merge( $this->defaults['general'], get_option('cookie_notice_options', $this->defaults['general'] ) )
);
if ( ! isset( $this->options['general']['see_more_opt']['sync'] ) )
$this->options['general']['see_more_opt']['sync'] = $this->defaults['general']['see_more_opt']['sync'];
How do I have to modify the code?