It’s fairly often drawback if you find yourself attempting to open your website and see simply white screen. Examine steps that I often make to resolve
First of all, examine your admin web page. For those who even have the identical drawback – you will have deadly error on web page.
Very first thing that you just want to do – allow wp debug. You are able to do this solely from ftp
For this, open file wp-config.php in root folder of your website and add discover such code inside
define( 'WP_DEBUG', false );
define( 'WP_DEBUG', true );
Now, go to website. You can find a discover about error, one thing like
Cannot redeclare get_posts() (previously declared in /var/www/html/wordpress/wp-includes/post.php:1874) in /var/www/html/wordpress/wp-content/plugins/my-test-plugin/my-test-plugin.php on line 38
So, from this line you possibly can perceive the place is an issue. You’ll be able to write about this to theme or plugin writer. Whilst you look ahead to reply, you possibly can disable plugin or theme. However how you are able to do this with out admin entry? Very straightforward. Simply rename your theme or plugin.
When wordpress doesn’t discover plugin folder which is activated, it deactivates plugin robotically, so, you possibly can entry to admin web page.
One other attainable error is one thing like
Fatal error: Out of memory (allocated 62652416) (tried to allocate 6571071 bytes) in /public_html/wp-includes/wp-db.php on line 785
This error tells that your reminiscence restrict is just too low on website and never sufficient in your activated scripts and theme. Most often, you possibly can repair this with simply rising reminiscence restrict in wp-config.php with this code
However, not all hosters enable to enhance reminiscence restrict from wp-config. So, you want to write to help. Or deactivate plugin which has huge load on server. Additionally, generally you should use such code in file .htaccess if it’s accessible (additionally in root folder of website)
php_value memory_limit 256M
After resolving drawback, you possibly can disable wp debug once more
Not deadly error
Generally, you possibly can haven’t deadly error on website. On this case solely half of website is crashed, for instance, no footer or no sidebar. However you continue to have entry to admin web page. On this case, I often use plugin Wp debug After putting in, examine first checkbox in settings. This plugin additionally activate wp debug, however in this case you are able to do this from admin panel, with out ftp