Monday, 27 November 2017

How to Turn Off PHP Errors in WordPress

Recently one of our readers asked how to turn off PHP errors in WordPress? PHP warnings and notices help developers debug issues with their code. However it looks extremely unprofessional when they are visible to all your website visitors. In this article, we will show you how to easily turn off PHP errors in WordPress.

How to turn off PHP errors in WordPress

Why and When You Should Turn Off PHP Errors in WordPress?

PHP errors that you can see on your WordPress site are usually warnings and notices. These are not like internal server error, syntax errors, or fatal errors, which stop your website from loading.

Notices and warnings are the kind of errors that do not stop WordPress from loading your website. See how WordPress actually works behind the scenes for more details.

PHP errors in WordPress admin area

The purpose of these errors are to help developers debug issues with their code. Plugin and theme developers need this information to check for compatibility and best practices.

However, if you are not developing a theme, plugin, or a custom website, then these errors should be hidden. Because if they appear on the front-end of your website to all your visitors, it looks extremely unprofessional.

WordPress warning errors on homepage

If you see an error like above on on your site, then you may want to inform the respective theme or plugin developer. They may release a fix that would make the error go away. Meanwhile, you can also turn these errors off.

Let’s take a look at how to easily turn off PHP errors, notices, and warnings in WordPress.

Turning off PHP Errors in WordPress

For this part, you will need to edit the wp-config.php file.

Inside your wp-config.php file, look for the following line:

define('WP_DEBUG', true);

It is also possible, that this line is already set to false. In that case, you’ll see the following code:

define('WP_DEBUG', false);

In either case, you need to replace this line with the following code:

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

Don’t forget to save your changes and upload your wp-config.php file back to the server.

You can now visit your website to confirm that the PHP errors, notices, and warnings have disappeared from your website.

Turning on PHP Errors in WordPress

If you are working on a website on local server or staging area, then you may want to turn on error reporting. In that case you need to edit your wp-config.php file and replace the code you added earlier with the following code:

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

This code will allow WordPress to start displaying PHP errors, warnings, and notices again.

We hope this article helped you learn how to turn off php errors in WordPress. You may also want to see our list of the most common WordPress errors and how to fix them.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Turn Off PHP Errors in WordPress appeared first on WPBeginner.



from Tutorials – WPBeginner http://ift.tt/2jpJB7K
More View at https://mwktutor.com

How to Turn Off PHP Errors in WordPress

Recently one of our readers asked how to turn off PHP errors in WordPress? PHP warnings and notices help developers debug issues with their code. However it looks extremely unprofessional when they are visible to all your website visitors. In this article, we will show you how to easily turn off PHP errors in WordPress.

How to turn off PHP errors in WordPress

Why and When You Should Turn Off PHP Errors in WordPress?

PHP errors that you can see on your WordPress site are usually warnings and notices. These are not like internal server error, syntax errors, or fatal errors, which stop your website from loading.

Notices and warnings are the kind of errors that do not stop WordPress from loading your website. See how WordPress actually works behind the scenes for more details.

PHP errors in WordPress admin area

The purpose of these errors are to help developers debug issues with their code. Plugin and theme developers need this information to check for compatibility and best practices.

However, if you are not developing a theme, plugin, or a custom website, then these errors should be hidden. Because if they appear on the front-end of your website to all your visitors, it looks extremely unprofessional.

WordPress warning errors on homepage

If you see an error like above on on your site, then you may want to inform the respective theme or plugin developer. They may release a fix that would make the error go away. Meanwhile, you can also turn these errors off.

Let’s take a look at how to easily turn off PHP errors, notices, and warnings in WordPress.

Turning off PHP Errors in WordPress

For this part, you will need to edit the wp-config.php file.

Inside your wp-config.php file, look for the following line:

define('WP_DEBUG', true);

It is also possible, that this line is already set to false. In that case, you’ll see the following code:

define('WP_DEBUG', false);

In either case, you need to replace this line with the following code:

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

Don’t forget to save your changes and upload your wp-config.php file back to the server.

You can now visit your website to confirm that the PHP errors, notices, and warnings have disappeared from your website.

Turning on PHP Errors in WordPress

If you are working on a website on local server or staging area, then you may want to turn on error reporting. In that case you need to edit your wp-config.php file and replace the code you added earlier with the following code:

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

This code will allow WordPress to start displaying PHP errors, warnings, and notices again.

We hope this article helped you learn how to turn off php errors in WordPress. You may also want to see our list of the most common WordPress errors and how to fix them.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Turn Off PHP Errors in WordPress appeared first on WPBeginner.



from WPBeginner http://ift.tt/2jpJB7K
More links is https://mwktutor.com

HostGator 2017 BlackFriday & CyberMonday Flash Sale Upto 80% Timings

Hostgator is offering 65% discount from Thanksgiving until a day after CyberMonday, ie. 23rd Nov to 28th Nov (CST). Along with this, they are running multiple flash sale, where you can get hosting for as low as 80% off & domain name for $2.99.  I would suggest aim to get hosting with 80% discount & in case if you can’t, then grab 65% off. As it is, this is the massive sale from Hostgator which comes only once in a year.

Note: It’s better to buy hosting for 2-3 year term to save maximum in this BlackFriday/CyberMonday hosting discount.

65% Hostgator BlackFriday discount coupon (CST Time)

  • November 23rd (12 AM -11:59 PM CST):2017BF
  • November 24th(12 AM -11:59 PM CST):2017BF
  • November 25th(12 AM -11:59 PM CST): 2017SB
  • November 26th(12 AM -11:59 PM CST):2017SB
  • November 27th(12 AM -11:59 PM CST): 2017CM
  • November 28th(12 AM -11:59 PM CST):2017CM

65% Hostgator BlackFriday discount coupon (IST Time)

  • November 23rd (11:30 AM) – November 24th (11:29 AM):2017BF
  • November 24th(11:30 AM) – November 25th (11:29 AM): 2017BF
  • November 25th(11:30 AM) – November 26th (11:29 AM): 2017SB
  • November 26th(11:30 AM) – November 27th (11:29 AM): 2017SB
  • November 27th(11:30 AM) – November 28th (11:29 AM): 2017CM
  • November 28th(11:30 AM) – November 29th (11:29 AM): 2017CM

This is a quick post to let you know about their flash sale timing so that you can make most out of HostGator BlackFriday sale.

Get Hostgator BlackFriday Deal

Hostgator Flash sale Timings in CST:

Hostgator

Thursday NOVEMBER 23rd

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 12 AM – 12:59 AM CST: 2017BF1
  • 10 AM-10:59 AM CST: 2017BF2
  • 5 PM – 5:59 PM CST: 2017BF3

Friday NOVEMBER 24th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 12 AM – 12:59 AM CST: 2017BF4
  • 10 AM-10:59 AM CST: 2017BF5
  • 2 PM – 2:59 PM CST: 2017BF6
  • 5 PM – 5:59 PM CST: 2017BF7

Saturday NOVEMBER 25th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 12 AM – 12:59 AM CST: 2017SB1
  • 10 AM-10:59 AM CST: 2017SB2
  • 5 PM – 5:59 PM CST: 2017SB3

Sunday NOVEMBER 26th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 12 AM – 12:59 AM CST: 2017SB4
  • 10 AM-10:59 AM CST: 2017SB5
  • 5 PM – 5:59 PM CST: 2017SB6

Monday NOVEMBER 27th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 12 AM – 12:59 AM CST: 2017CM1
  • 10 AM-10:59 AM CST: 2017CM2
  • 2 PM – 2:59 PM CST: 2017CM3
  • 5 PM – 5:59 PM CST: 2017CM4

Tuesday NOVEMBER 28th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 12 AM – 12:59 AM CST: 2017CM5
  • 10 AM-10:59 AM CST: 2017CM6
  • 2 PM – 2:59 PM CST: 2017CM7
  • 5 PM – 5:59 PM CST: 2017CM8

Get Hostgator Black Friday & CyberMonday Deal

Hostgator Flash sale Timing in IST:

If you are in India, here I have converted the Hostgator flash timing from CST to Indian standard time. You can buy hosting from Hostgator on below given time to get 80% off. If you miss these time, you can always grab hosting for 65% off.

Thursday NOVEMBER 23rd

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 11:30 AM – 12:29 PM IST: 2017BF1
  • 9:30 PM-10:29 PM IST: 2017BF2

Friday,NOVEMBER 24th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 4:30 AM – 5:29 AM IST: 2017BF3
  • 11:30 AM – 12:29 PM IST: 2017BF4
  • 9:30 PM-10:29 PM IST: 2017BF5

Saturday,NOVEMBER 25th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 1:30 AM – 2:29 AM IST: 2017BF6
  • 4:30 AM – 5:29 AM IST: 2017BF7
  • 11:30 AM – 12:29 PM IST: 2017SB1
  • 9:30 PM-10:29 PM IST: 2017SB2

Sunday, NOVEMBER 26th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 4:30 AM – 5:29 AM IST: 2017SB3
  • 11:30 AM – 12:29 PM IST: 2017SB4
  • 9:30 PM-10:29 PM IST: 2017SB5

Monday, NOVEMBER 27th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 11:30 AM – 12:29 PM IST: 2017CM1
  • 9:30 PM-10:29 PM IST: 2017CM2

Tuesday, NOVEMBER 28th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 1:30 AM – 2:29 AM IST: 2017CM3
  • 4:30 AM – 5:29 AM IST: 2017CM4
  • 11:30 AM – 12:29 PM IST: 2017CM5
  • 9:30 PM-10:29 PM IST: 2017CM6

Wednesday, NOVEMBER 29th

Sale Details: 80% off all new Hosting plus $2.99 select Domains

  • 1:30 AM – 2:29 AM IST: 2017CM7
  • 4:30 AM – 5:29 AM IST: 2017CM8

Get Hostgator BlackFriday Deal

Do let us know which plan have you purchased from Hostgator? Here are guides to get your WordPress blog up & running:

Subscribe on Youtube

HostGator 2017 BlackFriday & CyberMonday Flash Sale Upto 80% Timings is a post from ShoutMeLoud - Shouters Who Inspires



from ShoutMeLoud http://ift.tt/2hKy0Qs
More View at https://mwktutor.com

Bluehost Hosting Cyber Monday Offer→ 2017 Best Deal

Bluehost Hosting Cyber Monday Offer

Of all the Black Friday and Cyber Monday offers, I found Bluehost Cyber Monday deal to be super sweet. You can get unlimited shared hosting at lowest price possible of $2.65/month along with one free domain. More on their CyberMonday deal below.

Activate Bluehost CyberMonday deal here

Bluehost is a popular WordPress hosting company and known for their superior hardware quality. They are officially recommended by WordPress.org, as preferred hosting for self-hosted WordPress blogs. Bluehost offers various hosting packages that include shared hosting, Cloud hosting, WordPress hosting, VPS & few more. Their hosting quality is on the global standard & all of their shared hosting packages comes with unlimited bandwidth, unlimited storage, cPanel hosting. Free SSH, Latest PHP and all premium shared hosting features.

If you plan to start a website or a blog, Bluehost is an ideal choice for you. On this CyberMonday sale (27th November 2017), you can get the maximum discount ever offered by Bluehost & save a lot of money for yourself.

Below I have outlined the detail on how you can avail this special limited-time discount. But if this is the first time you are reading about Bluehost, you should check out my personal Bluehost review, and you would know why this budget shared hosting is best for your next WordPress or any other website project.

Bluehost CyberMonday deal

How to Grab Bluehost CyberMonday 2017 Sale:

Bluehost CyberMonday sale will be live for only 24 hours starting from 27th November midnight. You have only 24 hours to avail this exclusive discount else you would be paying usual price for their hosting. They have discount running on all basic, plus and prime package.

So spare 45 seconds, follow steps and screenshots to grab this Cyber Monday deal from Bluehost.

  • Click here to go to Bluehost Site. On the homepage clicks on get started now. You might see the discounted price as $2.65
  • On the next page select your plan. They have three plans & I would recommend plus package for intermediate users & starter plan for beginners.

Here are all the 3 plans offered by Bluehost. (The price will be lower than shown; on Cyber Monday discount sale)

  • On the next page, you can either buy a new domain name or use your existing domain name. A good idea is to enter the domain name you want to buy since Bluehost is offering a free domain name & 50% off on additional discount on new domains with CyberMonday discount.

Bluehost Cyber Monday sale

 

  • Click on next, and the next page under the package, select plus package 24 or 36 months plan. You can also select starter plan if you plan to host only one website. Plus package is good for those who want to host multiple websites. ( I prefer buying plus package & recommend the same for you).

Bluehost Hosting CyberMonday deal

 

Uncheck the site lock domain security, and site backup pro, as you won’t be needing this add-on, and moreover you will be saving your money.

Now simply fill-out all the details and proceed to the checkout to receive your hosting login information. This is a limited time sale and one of such hosting offer that you should not miss. This special Bluehost Cyber Monday sale will end on 27th November 2017 midnight, and you if you miss it, you can take advantage of this discounted link to grab three years hosting for as low as $2.65/month.

Grab Bluehost Cyber Monday Deal (Free domain included)

Note: If you are looking forward to creating a blog of your own, with Bluehost hosting you can create your WordPress blog in 5 minutes. Here is a guide to install the WordPress blog on Bluehost hosting, and refer to my free WordPress guide for making your blog look professional.

Do let me know if you are lucky enough to get this deal or not. Also, what other stuff you have bought on this Cyber Monday sale?

Subscribe on Youtube

Bluehost Hosting Cyber Monday Offer→ 2017 Best Deal is a post from ShoutMeLoud - Shouters Who Inspires



from ShoutMeLoud http://ift.tt/2BdXnSo
More View at https://mwktutor.com

Sunday, 26 November 2017

Cyber Monday Web Hosting Deals 2017 → Huge Discounts!

Best Deals ​​​​​​W​ebHostsHostGatorBluehostA2 HostingWPXHostingSiteGroundNamecheapDiscounts65% OFF2.95/mo 67% OFF50% OFF70% OFF98% OFFCouponsBF2017N/AHUGE67N/AN/AN/ADeals VIEW DEAL VIEW DEAL VIEW DEAL VIEW DEAL VIEW DEAL VIEW DEAL ValidityNov 23 - 27Nov 22 - 29Nov 24 - 28*Notice: On mobile devices, scroll right to see entire table.After Black Friday, Cyber Monday Sale is the last chance for you to get huge discounts […]

The post Cyber Monday Web Hosting Deals 2017 → Huge Discounts! appeared first on RoadToBlogging.



from RoadToBlogging http://ift.tt/2zGKunl
More View at https://mwktutor.com

Saturday, 25 November 2017

11 Best WordPress Dentist Themes 2017

If you need to create a website for a dental clinic then this collection of the best WordPress themes for dentists are just what you’re looking for. All of these WordPress dentist themes have at least one pre-built website that can be imported into WordPress to help you launch your dental clinic or another type […]

The post 11 Best WordPress Dentist Themes 2017 appeared first on aThemes.



from aThemes http://ift.tt/2jYRQf0
More View at https://mwktutor.com

Friday, 24 November 2017

Black Friday Deal: 50% off On LongTailPro Keyword Research Tool

Long Tail Pro which is a popular keyword research tool for your desktop is running an exclusive discount on this BlackFriday.

Grab LongTailPro BlackFriday Discount 

I have earlier shared a detailed review of LongTailPro here & it’s worth the investment for those bloggers who understand the importance of SEO. You can use Long Tail Pro for Keyword Research, Niche research, checking the competition, domain check & many more. This is one of the SEO tools that you need to buy once & enjoy the benefits forever. You should refer to this guide on learning about profitable micro-niche blogging.

Getting back to super discount offer from LongTailPro, which will end on 30th November 2015. So you have a few days to take action & grab this one time deal.

Long Tail Pro SEO Tool BlackFriday 2017 deal:

Long Tail Pro is offering the discount of 50% on all their plans and you can get started with as low as $18/month.

LongTailPro is one powerful suite for Keyword research. This tool is popular among digital marketers and bloggers for the niche keyword research and checking the SEO competition for your target keywords.

On this BlackFriday until CyberMonday, LongTailPro is available for 50% off which includes their monthly plan. You can save up to $269 when selecting an annual plan. If you are not satisfied with the software, you can get a complete refund within the first 10 days.

If you are someone who is looking for a SEO tool that helps you in keyword research and let you track Keyword position in search engine, LongTailPro is a perfect solution for you. Here is the new pricing after applying 50% discount:

LongTailPro comes in two version: Starter and Pro. In the above image, you can compare the difference between both the version & based on features & your requirement pick the right version for yourself.

For a blogger, pro version is good as it will cost only $47 which comes with life-time updates & upgrade. You can find their BlackFriday deal in below link:

  • Yearly Pro Access: $268.5 (Usual price $537)
  • Deal Date: 24th November-27th November 2017 [ Live ]
  • Deal link: Get the deal here (No Coupon required)
  • Deal link for CyberMonday on 27th: Use this link for the discount

In addition to this, they are also offering four new content templates designed to help you turn their keywords into top-notch content. This is a bonus download that will be given to you when you purchase LongTailPro in their BlackFriday discount offer.

This is one-time deal & something you should not miss. Here are other BlackFriday 2017 deals that you must check out:

Subscribe on Youtube

Black Friday Deal: 50% off On LongTailPro Keyword Research Tool is a post from ShoutMeLoud - Shouters Who Inspires



from ShoutMeLoud http://ift.tt/2n0fEQP
More View at https://mwktutor.com