- This topic contains 1 voice and has 0 replies.
4 June 2019 at 15:03 #33317
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?
- You must be logged in to reply to this topic.
Lightbox not working on WooCommerce Product Pages
by Kristel Hayes
7 hours, 15 minutes ago
Database insert optimization
2 days, 9 hours ago
Can I build in a stop in a block with Responsive Lightbox & Gallery?
2 days, 10 hours ago
Alt Attribute is Missing for Gallery Images
2 days, 12 hours ago
CF7 broken for 2+ years
4 days, 17 hours ago
Cookie Notice – Visitors’ Consents to Cookies.
6 days, 3 hours ago
Questions about Folders
1 week, 1 day ago
GA no source data
1 week, 2 days ago
FIle size up than 2mb
1 week, 5 days ago
Display order for Media Folders
1 week, 6 days ago