hey,
i found a way to get rid of the errors when using the cbox theme.
I have a wordpress 3.8 danish installation.
My errors:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/techmind.dk/public_html/arduino/wp-includes/widgets.php on line 788
Warning: Cannot modify header information – headers already sent by (output started at /var/www/techmind.dk/public_html/arduino/wp-includes/widgets.php:788) in /var/www/techmind.dk/public_html/arduino/wp-includes/option.php on line 563
Warning: Cannot modify header information – headers already sent by (output started at /var/www/techmind.dk/public_html/arduino/wp-includes/widgets.php:788) in /var/www/techmind.dk/public_html/arduino/wp-includes/option.php on line 564
I used codeanywhere.net to modify option.php and widget.php files
First i removed the ‘Warning: Cannot modify header information – headers already sent’
Simply un-comment line 563, 564, 565 i options.php
Second i removed the ‘array’ error after reading this wordpress post: http://wordpress.org/support/topic/25-upgrade-widgetsphp-on-line-60
In the widget.php file i added (array) in line 788:
this was line 788 before add: $widget = array_merge($widget, $options);
this is line 788 after the add: $widget = array_merge($widget, (array)$options);
hope this helps
😉 michael
Attachments:
You must be
logged in to view attached files.