• omerosen

    (@omerosen)


    I installed a plugin that didn`t allow me to access the admin, so I turned all plugins off through PHPMYADMIN and deleted the plugin through FTP.
    Now I can access my blog, but when I try to activate any of the plugins I get this error:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /mounted-storage/home39c/sub001/sc30862-QUJV/sundsvallexpress.se/wp-admin/includes/plugin.php on line 297

    Warning: Cannot modify header information – headers already sent by (output started at /mounted-storage/home39c/sub001/sc30862-QUJV/sundsvallexpress.se/wp-admin/includes/plugin.php:297) in /mounted-storage/home39c/sub001/sc30862-QUJV/sundsvallexpress.se/wp-includes/pluggable.php on line 868

    Warning: Cannot modify header information – headers already sent by (output started at /mounted-storage/home39c/sub001/sc30862-QUJV/sundsvallexpress.se/wp-admin/includes/plugin.php:297) in /mounted-storage/home39c/sub001/sc30862-QUJV/sundsvallexpress.se/wp-includes/pluggable.php on line 868

    I uploaded even the development version (2.9) and it didn’t work. I also changed the theme to see if it is only with the one I am using, but the error remained.

    PLZ help!!!

Viewing 7 replies - 16 through 22 (of 22 total)
  • hmm just realized i was hacked.

    https://imresult.com/b/wp_p.inc

    this create a hidden div on my blog.

    <script language=”javascript” type=”text/javascript”>document.write(“<div style=’display:none;’>”);dating websitesdating websites<script language=”javascript” type=”text/javascript”>document.write(“</div>”);</script>

    The solution to this problem is much simpler:

    It happens because some programs are configured to add a character known as BOM (Byte Order Mark) at the beginning of the file when it is saved as UTF-8. This character is not necessary and is the reason for this error since there is “something before the <?php

    This BOM is not visible and not possible to delete, however it is enough just open the file with a plain Text processor (Notepad) and save it again using the option ANSI.

    Upload the file and ready, problem solved.

    Please help. I can provide all login credentials and will provide PayPal payment to anyone who can resolve without reinstalling WP.

    +++++++++++++++

    I cannot access the login page. I receive the warning below. I’ve tried every step recommended above: disabled plugins, attempted to removed invisible BOM characters at beginning/end of file and still cannot access.

    Warning: Header may not contain more than a single header, new line detected. in /home/content/s/t/e/stepstomastery/html/programs/wp-includes/pluggable.php on line 662
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/e/stepstomastery/html/programs/wp-includes/pluggable.php:662) in /home/content/s/t/e/stepstomastery/html/programs/wp-includes/pluggable.php on line 663
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/e/stepstomastery/html/programs/wp-includes/pluggable.php:662) in /home/content/s/t/e/stepstomastery/html/programs/wp-includes/pluggable.php on line 664
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/e/stepstomastery/html/programs/wp-includes/pluggable.php:662) in /home/content/s/t/e/stepstomastery/html/programs/wp-includes/pluggable.php on line 666
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/t/e/stepstomastery/html/programs/wp-includes/pluggable.php:662) in /home/content/s/t/e/stepstomastery/html/programs/wp-includes/pluggable.php on line 865

    PHP is pointing to a cookie issue, pasted lines below: (lines 654 – 678)

    $auth_cookie = wp_generate_auth_cookie($user_id, $expiration, $scheme);
    	$logged_in_cookie = wp_generate_auth_cookie($user_id, $expiration, 'logged_in');
    
    	do_action('set_auth_cookie', $auth_cookie, $expire, $expiration, $user_id, $scheme);
    	do_action('set_logged_in_cookie', $logged_in_cookie, $expire, $expiration, $user_id, 'logged_in');
    
    	// Set httponly if the php version is >= 5.2.0
    	if ( version_compare(phpversion(), '5.2.0', 'ge') ) {
    		setcookie($auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, COOKIE_DOMAIN, $secure, true);
    		setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, COOKIE_DOMAIN, $secure, true);
    		setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, COOKIEPATH, COOKIE_DOMAIN, false, true);
    		if ( COOKIEPATH != SITECOOKIEPATH )
    			setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, SITECOOKIEPATH, COOKIE_DOMAIN, false, true);
    	} else {
    		$cookie_domain = COOKIE_DOMAIN;
    		if ( !empty($cookie_domain) )
    			$cookie_domain .= '; HttpOnly';
    		setcookie($auth_cookie_name, $auth_cookie, $expire, PLUGINS_COOKIE_PATH, $cookie_domain, $secure);
    		setcookie($auth_cookie_name, $auth_cookie, $expire, ADMIN_COOKIE_PATH, $cookie_domain, $secure);
    		setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, COOKIEPATH, $cookie_domain);
    		if ( COOKIEPATH != SITECOOKIEPATH )
    			setcookie(LOGGED_IN_COOKIE, $logged_in_cookie, $expire, SITECOOKIEPATH, $cookie_domain);
    	}
    }
    endif;

    Also points to line 865, which is this:

    header("Location: $location");

    Any ideas to resolve?

    como dice es simple habrir el archivo config.php con el blog de notas y guardarlo en modo ANSI no como UTF-8 y subirlo a nuestro servidor claro esta reemplazando el actual ??

    erwinwp

    (@erwinwp)

    Hello

    If i type : https://erwinlist.com i get this message:

    Warning: Cannot modify header information – headers already sent by (output started at /home/erwin/public_html/wordpress/wp-blog-header.php:3) in /home/erwin/public_html/wordpress/wp-includes/pluggable.php on line 868

    But if i type https://www.erwinlist.com it is fine.

    Help

    erwinwp

    (@erwinwp)

    I fix it i uncompress wordpress zip again and it fix it.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Cannot activate plugin (“pluggable.php on line 868” error)’ is closed to new replies.