Tagged: 

  • This topic contains 1 voice and has 0 replies.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #33317

    Youdoovoodoo
    Participant

    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?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.