Kabhi kabhi jub hum apne WordPress site pe code snippet ko add karte hai ya kisi plugin ko activate karte hai to hame pluggable.php file errors dikhta hai. Aaj is article me hum aapko batayenege How to fix pluggable.php file error in WordPress ?
Sabse pahle jante hai ke ye wordpress me pluggable.php file errors kyu hota hai.
Pluggable.php File me kuch core WordPress functions hote hai jise users aur developers apne khud ke code se override karte hai. Agar
WordPress plugin or custom code snippet kisi bhi functions ko correctly handle karne me fail ho jate hai to aapke samne kuch is tarah ke error dikhte hai.
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
How To Fix Pluggable.php File Error in WordPress ?
pluggable.php file WordPress ki core file hai. Ye ek accha idea nahi hai ke core wordpress file ko sab se pahle edit kija jaye, yahan tak ki koi error unhe point bhi kare.
Sabse zyada possibility hai ke errors kahi aur se a rahe ho.
pluggable.php file me
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
upar diye gaye example me error theme’s functions.php file 1035 line pe located hai. Iska matlab hai ke aapko apne theme’s functions.php file ko edit karna hai, aur is error ko cause karne wale code ko remove karna hai.
Kabhi kabhi header ke bheje gaye errors php ?> tag ko close karne ke baad diye gaye extra space ki wajah se hota hai. Isliye aapko use remove karna hai, remove karne ke baad ye issue fix ho jayega.
Dusre example me dekh len
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
Ye error, message aapke wordpress site pe plugin ko point kar raha hai. Aapko is plugin ko deactivate karna hai aur plugin author ko is error ke bare me notify karna hai.
Lagbhag sabhi cases me aise errors jo pluggable.php file error show karte hai wo file ki wajah se nahi hote hai.
Ye errors custom code snippet ki wajah se ho sakte hai jise aapne add functions.php file me add kiya tha ya kisi poorly coded plugins, ya wordpress theme ki wajah se ho sakta hai.
Simply code ko remove ya edit karne, plugins ko deactivate karne se ye problem door ho jata hai.
To Doston bas itnahi, Ummid hai aapko ye article ( How to fix pluggable.php file error in WordPress ) informative laga hoga. Agar aapka koi swaaal hai to aap humse comment section me pooch sakte hain. Apke liye ye ( WordPress in Hindi ) course design kiya gya hai, Is Website pe apko WordPress Complete Course Hindi me mil jyega, Agr aap WordPress se related videos dekhna chahte hain to aap hmare WP Seekho YouTube Channel par bhi visit kar sakte hain.
Also Read:
- WordPress Kiyon Use Kare ?
- Domain Name Kya Hota Hai?
- Theme Kya Hota hai?
- Subdomain Kya hai?
- Plugins kya hota hai?
- Hosting Kya hota hai?