Skip to content
  • Home
  • Courses
  • Blogs
  • Videos
  • Earn Money
  • Home
  • Courses
  • Blogs
  • Videos
  • Earn Money
MY COURSES

WordPress me PHP Errors ko turn off kaise kare

Post Views: 6
turn off PHP errors
  • Category: WordPress
  • February 18, 2019

WordPress PHP errors ko display karne ke liye built-in tool ke sath aata hai. PHP warning aur issues developers ko code me aaye issues ko debug karne me help karta hai. Ek healthy, secure, aur well-performing website ke liye PHP error bahut important hai. Halaki ye behad unprofessional lagta hai jub ye aapke sabhi site visitors ko dikhayi dete hai. Aaj is article me hum aapko batayenge how to turn off PHP errors in WordPress.

PHP Errors ko kab aur kyu turn off kare

Jin PHP errors ko hum apne site pe dekhte hai wo usually warning aur notices hote hai. Ye internal server error, syntax errors, or fatal errors, jaise nahi hote hai jo aapki website load hone se rok den.

Notice aur warning ek tarah ka error hota hai jo aapki site ko load hone se nahi rokte hai. In errors ka purpose developers ko code ke issues ko debug karne me help karna hota hai. Plugins aur theme developers is information ko theme aur plugin ke compatibility ko check karne ke liye karte hai.

Halaki agar aap ek theme, plugin ya custom website develop nahi kar rahe hai to in errors ko hidden hona chahye kyu ki agar ye errors front-end pe aapke website pe sabhi visitors dikhenge to ye ek bahut hi unprofessional hai. To aaeye dekhte hai how to turn off PHP errors in WordPress.

How to turn off PHP errors in WordPress

PHP errors ko turn off karne ke liye aapko apne wp-config.php file ko edit karna hoga. Apne wp-config.php file ko access karne ke liye aapko server me FTP client ya cPanel File manager ki help se login karna hoga.

turn off PHP errors

wp-config.php file WordPress install directory me store hota hai. WP-confi.php file me niche diye gaye line ko dhundhe.

define('WP_DEBUG', true);

Aisa ho sakta hai ke ye line pahle se hi False set ho, aise me aap niche diye gaye code dekehenge.

define('WP_DEBUG', false);
turn off PHP errors

Dono cases me aapko in lines ki jaga niche diye gaye lines se replace karna hai.

ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);

Changes ko save karna na bhoole aur wp-config file ko server pe phir se upload kar den.

Ab aap apne site pe visit kare, aap dekhenge ke aapke site se PHP errors, notices, aur warnings  disappear ho gya hoga.

WordPress me PHP Errors ko turn on kaise kare

Agar aap website pe local server pe kaam kar rahe hai to aap error reporting ko turn on kar sakte hai. Us case me aapko apne wp-config.php file edit karna hoga aur aapko un codes ko niche diye gaye code se replace karna hoga jise aapne pahle add kiya tha.

define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);

Ye code wordpress me errors, warning aur notices ko phir se display karne lagega.

Umeed hai ye article How to turn off PHP errors in WordPress aapke liye helpful hoga.

Post Views: 6
PrevWordPress me Secure Connection Error Fix Kaise Kare ?
WordPress me 413 Request Entity Too large Error fix kaise kareNext

XO MULTIMEDIA

Share On:

Xo Multimedia app download

XO MULTIMEDIA App Launched

  • Uncategorized

Best Video Editing Software in 2025 for PC and Mac

  • Video Editing

A Guide to Skin Smoothing Techniques in Videos

  • Video Editing
Ai Tool

Generative AI : Essential AI Tools Every Editor Needs

  • Generative AI
Shortcut Key

Top 40 Video Editing Shortcuts for Premiere Pro, FCPX, DaVinci Resolve & Filmora

  • Video Editing

4 Essential Free Websites for Video Editors: Boost Your Editing Skills

  • Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories

  • Generative AI
  • Video
  • Theme
  • Solution
  • Plugin
  • Domain & Hosting
  • Basics
  • Digital Marketing
  • Product Review
  • SEO
  • Video Editing
  • Top 5 Android Apps
  • Website Making
  • Affiliate Marketing
  • Blogger
  • AdSense
  • Graphic Design
  • Google
  • Earn Money Online
  • Definition
  • Tips and Tricks
  • Technology
  • Social Media
  • Internet
  • Health Tips
  • Computer
  • Android
  • WordPress
  • Uncategorized
Xo Multimedia app download

XO MULTIMEDIA App Launched

  • Uncategorized

Best Video Editing Software in 2025 for PC and Mac

  • Video Editing

A Guide to Skin Smoothing Techniques in Videos

  • Video Editing
Ai Tool

Generative AI : Essential AI Tools Every Editor Needs

  • Generative AI, Video Editing
Shortcut Key

Top 40 Video Editing Shortcuts for Premiere Pro, FCPX, DaVinci Resolve & Filmora

  • Video Editing

4 Essential Free Websites for Video Editors: Boost Your Editing Skills

  • Uncategorized

[ Explore ]

  • Courses
  • Videos
  • Blogs

[ Opportunity ]

  • Earn Money
  • Hire Editor
  • Get Hired?

[ Accounts ]

  • My Courses
  • My Portfolio

[ contact ]

  • Contact Us
  • About Us
  • +91 - 77 88 99 888 1
Instagram Facebook-f Youtube

©XO MULTIMEDIA 2025. All Right Reserved

  • privacy policy
  • Terms of Use
MY COURSES
  • Home
  • Courses
  • Blogs
  • Videos
  • Earn Money
  • About Us
  • Contact Us