Title: Cannot activate plugin (&#8220;pluggable.php on line 868&#8221; error)
Last modified: August 19, 2016

---

# Cannot activate plugin (“pluggable.php on line 868” error)

 *  [omerosen](https://wordpress.org/support/users/omerosen/)
 * (@omerosen)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/)
 * 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 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/page/2/?output_format=md)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276694)
 * > I turned all plugins off through PHPMYADMIN
 * Did you remember to turn them back on again?
 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276697)
 * Hi,
 * It is usually due to spaces, new lines, or other garbage at opening/closing PHP
   file <?php tag or after a closing ?> tag in wp-config.php. It can be other file
   too so need to check error message as it may list file name where the error occurred.
 * One can either upload error file from the backup or edit erroneous file. To edit
   the file one need to check below mentioned points:
 * 1. Download the file mentioned in the error message.
    2. Open that file in a 
   plain text editor 3. Check that the very first characters are <?php 4. Check 
   that the very last characters are ?> 5. Place the cursor between the ? and > 
   6. Now press the DELETE key on your computer and keep that key pressed for at
   least 15 seconds. 7. Now type > and 8. Save without pressing any other key at
   all.
 * That’s it!
 * Thanks,
 * Shane G.
 *  Thread Starter [omerosen](https://wordpress.org/support/users/omerosen/)
 * (@omerosen)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276752)
 * But if I will put the cursor between the last “?>” press it for 15 sec it will
   start erasing all the code.
 *  Thread Starter [omerosen](https://wordpress.org/support/users/omerosen/)
 * (@omerosen)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276753)
 * Esmi, I changed the a:{} to a:0{} at PHPMYADMIN. After I managed to access my
   admin again I left it like that. Do I need to change the a:{} so the “a:” will
   have a number again?
    If so, which number it need to be? I forgot what was it
   in the first place before I changed it.
 *  Thread Starter [omerosen](https://wordpress.org/support/users/omerosen/)
 * (@omerosen)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276773)
 * Help anyone?
    I have been searching the net and found nothing that helped me 
   solve this and right now key features of my blog are not working because of that
   error.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276785)
 * > But if I will put the cursor between the last “?>” press it for 15 sec it will
   > start erasing all the code.
 * Place the cursor after last `?>` and press the **Del** key for 15 secs – **not**
   the Backspace key.
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276790)
 * Maybe i’m old or something, but what do steps 6 – 8 aim to do?
 * What does holding that key do, and won’t adding an additional `>` invalidate 
   the closing tag by now becoming..
 *     ```
       ?>>
       ```
   
 * .. or does this whole 15 delete thing remove one..
 * Is it a Mac thing?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276793)
 * They remove spaces you may not be able to see. and you should end up with just`?
   >` – not `?>>`.
 * [http://codex.wordpress.org/Answers-Trouble_Shooting#Headers_already_sent](http://codex.wordpress.org/Answers-Trouble_Shooting#Headers_already_sent)
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276794)
 * Oh i see, i didn’t even know that… oh god, all these years using computers and
   something so basic has escaped me… lol..
 * Learn something new every day.. 🙂
 *  [bestfoot](https://wordpress.org/support/users/bestfoot/)
 * (@bestfoot)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276857)
 * I had the same problem … I had added a custom color to header in my functions
   file … worked most of the time but created this error the rest of the time. Just
   in case it happens to you …
 *  [anton-m](https://wordpress.org/support/users/anton-m/)
 * (@anton-m)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276874)
 * Or you can press Ctrl+Shift+End after `?>`, this will select everything to the
   end of the file including white spaces. I had that problem too, and removing 
   the white spaces fixed it. Thanks!
 *  [Pierre MUZAS](https://wordpress.org/support/users/peter94/)
 * (@peter94)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276880)
 * Hi !
    1. Open lesson.php first into an ascii editor.
    2. Then, go to the end of file.
    3. Remove the blank last line and blank spaces with backspace tab.
    4. Keep the ‘?>’ no space behind.
 * That’s it !
    It works now.
 *  [nsxall](https://wordpress.org/support/users/nsxall/)
 * (@nsxall)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276881)
 * Hello! I have also encountered the same problem, I think should be the config.
   php file out of order. My solution is to download a new wondpress source code.
   
   Then remove the inside of the config.php file. And the old config.php to fill
   the same mysql data and text encoding, and then replace the FTP upload files,
   the problem solved. Want to help to you, I wish you good luck!
 *  [epape](https://wordpress.org/support/users/epape/)
 * (@epape)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276893)
 * i had the same problem and notebook doesn’t fixe it. i use another editor that
   gives you all the spaces in letters. its called Hex Editor Neo
 * i believe this can also happen if you migrate your wordpress to another domain
   and use the same sql database without changing the domain
 *  [yli](https://wordpress.org/support/users/yli/)
 * (@yli)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/#post-1276901)
 * i get this message when i try to connect to my new site to the backend.
 * > Warning: Cannot modify header information – headers already sent by (output
   > started at [http://imresult.com/b/wp_p.inc:1](http://imresult.com/b/wp_p.inc:1))
   > in /**/**/public_html/**/wp-includes/pluggable.php on line 868
 * [http://blogmagia.com.br](http://blogmagia.com.br)
 * how to fix it? thanks
    [http://topanuncio.com.br](http://topanuncio.com.br)

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/page/2/?output_format=md)

The topic ‘Cannot activate plugin (“pluggable.php on line 868” error)’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 22 replies
 * 14 participants
 * Last reply from: [erwinwp](https://wordpress.org/support/users/erwinwp/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/cannot-activate-plugin-pluggablephp-on-line-868-error/page/2/#post-1276935)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
