Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TUTORIAL: How To Fix Pluggable.php File Errors In Wordpress
Are you seeing a pluggable.php file error on your WordPress site? Sometimes when you add a code snippet on your site or activate a new plugin, you may get the pluggable.php file error. In this article, we will show you how to fix pluggable.php file errors in WordPress.

When and Why You See Pluggable.php Errors?

WordPress allow users and plugins to override certain core functions. These functions are located in the pluggable.php file.

If a WordPress plugin or a custom code snippet fails to correctly handle one of these functions, then you will see an error like this one:

Warning: Cannot modify header information – headers already sent by (output started at /home/username/demosite/wp-content/themes/mytheme/functions.php:1035) in /home/username/demosite/wp-includes/pluggable.php on line 1179

Sometimes you may be able to continue working on your site with this or some other error still appearing in the admin area.

Having said that, let’s take a look at how to easily fix pluggable.php file error in WordPress.

Fixing Pluggable.php File Errors in WordPress

The pluggable.php file is a core WordPress file. It’s never a good idea to edit the core WordPress file as your first option, even when there is an error pointing to them.

Most likely than not, the error is coming from a different location.

In order to fix any error mentioning pluggable.php file, just look at the first location mentioned in the error.

Warning: Cannot modify header information – headers already sent by (output started at /home/username/demosite/wp-content/themes/mytheme/functions.php:1035) in /home/username/demosite/wp-includes/pluggable.php on line 1179

In the above example, the error is located in the theme’s functions.php file at line 1035.

This means you need to edit your theme’s functions.php file and change or remove the code causing this error.

Sometimes the headers already sent error is caused by an extra space after closing the php ?> tag, so you can just remove that, and it will fix the issue.

Let’s take a look at another example:

Warning: Cannot modify header information – headers already sent by (output started at /home/username/demosite/wp-content/plugins/some-plugin-name/some-plugin.php:144) in /home/username/demosite/wp-includes/pluggable.php on line 1090

This error message is pointing to a plugin on your WordPress site causing the error. You can simply deactivate the plugin and notify the plugin author about the error.

In almost all cases, errors mentioning pluggable.php file are not caused by the file itself.

These errors are usually caused by a custom code snippet you added to functions.php file, or a poorly coded plugin, or even your WordPress theme.

Simply removing or editing the code or deactivating the plugin will make the error go away.

Still can’t figure out what’s causing these errors?

We hope this article helped you resolve pluggable.php file errors in WordPress.
this really work great for me
My blog - recruitment news portal
[-] The following 1 user Likes ndanti's post:
  • Geekgurus
Nice tutorial
[-] The following 1 user Likes Deelino's post:
  • Geekgurus

Possibly Related Threads...
Thread Author Replies Views Last Post
  ALERT:  After Installing Wordpress, Your Blog May Go Dead If You Don't Do These Things! CyberKeed 0 160 11-10-2018, 11:10 AM
Last Post: CyberKeed
  TUTORIAL: Secure Your Wordpress Website In 2018: Here Are 10 Simple Tricks Geekgurus 0 241 08-11-2018, 11:58 AM
Last Post: Geekgurus
  HELP: Need A Good Wordpress Host Dammy 10 670 10-02-2017, 07:58 AM
Last Post: stormexy
  HELP: How can i regain access to my hacked wordpress site? stormexy 14 707 09-25-2017, 10:01 PM
Last Post: abeysegun
  How To Test Wordpress Plugins Without Installing Them Primebaze 9 574 09-07-2017, 07:58 PM
Last Post: Dynamo
  Top 3 Common Reasons For A Slow Wordpress Site (in My Experience) dealwap 4 416 04-20-2017, 05:14 PM
Last Post: Laive
Bug ALERT:  Have You Ever Encountered This Kinda Problem On Your Wordpress Website? j3r3myk3n 14 960 02-25-2017, 05:24 PM
Last Post: j3r3myk3n
  HELP: How To Add Post Thumbnails In Carrington On Wordpress Automatically Hussaini Kamal 17 1,683 12-18-2016, 11:34 PM
Last Post: Hussaini Kamal
  Am New To Wordpress Any Tutorial? emmyloaded 3 486 12-02-2016, 11:11 AM
Last Post: dealwap
  HELP: Wordpress Experts Please Help Needed Omotosho Temitope Fiyinfoluwa 6 633 12-02-2016, 05:11 AM
Last Post: younqjohn

Users browsing this thread: 1 Guest(s)

About Nigeria's Creative Talents

Nigeria's Creative Talents is an online community where every creative Nigerians can share ideas with themselves.

For any more information, please use our contact form.

              User Links