• Has anyone got a solution for the following problem: on trying to activate any plugins (including Hello Dolly!), I get the lines at the end of this post. I have read the troubleshooting guidance on header errors in the FAQ and other posts on this forum, and and the relevant line (268 in includes/plugin.php) has no extraneous spaces – and isn’t <?php or ?>. Line 268 in the file is:

    if ( !in_array($plugin, $current) ) {

    This is a clean install of WordPress 2.8, I have added no themes, no plugins (obviously!) and done nothing other than complete the name of the blog etc.

    Any assistance greatly received – thanks!
    Anne

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/taxpgorg/public_html/wp-admin/includes/plugin.php on line 268

    Warning: Cannot modify header information – headers already sent by (output started at /home/taxpgorg/public_html/wp-admin/includes/plugin.php:268) in /home/taxpgorg/public_html/wp-includes/pluggable.php on line 850

    Warning: Cannot modify header information – headers already sent by (output started at /home/taxpgorg/public_html/wp-admin/includes/plugin.php:268) in /home/taxpgorg/public_html/wp-includes/pluggable.php on line 850

The topic ‘in_array datatype/header information error’ is closed to new replies.