Md Sazzad Hossain
  • Home
  • Services
  • Blog
  • Contact Me
Author

Md Sazzad Hossain

Md Sazzad Hossain

Tips

Transfer files server to server

by Md Sazzad Hossain December 9, 2020
written by Md Sazzad Hossain

Transfer files from server to server using PHP

December 9, 2020 0 comment
0 FacebookTwitterPinterestEmail
WordPress Tips

HOW TO SOLVE PHP WARNINGS AND NOTICES IN WORDPRESS

by Md Sazzad Hossain May 7, 2020
written by Md Sazzad Hossain

PHP warnings and notices are nothing to worry about on a production site most of the time Some of these can even be generated because the developer has to keep compatibility with older versions of WordPress as well as older PHP versions.

Lets find the best solutions for this

If you simply set WP_DEBUG to false in your wp-config.php file you should be fine. These don’t affect your site in any way.

However, the problem is that some times the above does not work.
That can happen most times on cheap shared hosts that force displaying PHP warnings and notices.
In that case, you can replace this line from your wp-config.php file:

define('WP_DEBUG', false);
ini_set('display_errors','Off');
ini_set('error_reporting', E_ALL );
define('WP_DEBUG', false);
define('WP_DEBUG_DISPLAY', false);
May 7, 2020 0 comment
0 FacebookTwitterPinterestEmail

Recent Posts

  • Transfer files server to server
  • HOW TO SOLVE PHP WARNINGS AND NOTICES IN WORDPRESS

Categories

  • Tips (1)
  • WordPress Tips (1)
  • Facebook
  • Twitter
  • Linkedin
  • Github

@Md Sazzad Hossain - All Right Reserved

Md Sazzad Hossain
  • Home
  • Services
  • Blog
  • Contact Me