Sabse pahle jante hai ke ye wordpress me pluggable.php file errors kyu hota hai.
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
How to easily 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
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
Simply code ko remove ya edit karne, plugins ko deactivate karne se ye problem door ho jata hai.
Umeed
Also Read: WordPress Theme ko MyAdmin se kaise change kare