Hot answers tagged

4 votes

The website encountered an unexpected error. Please try again later (WSOD). Debugging scenario

1- Install Drush if you have not installed it already. 2- Clear cache using drush. 3- Still if you are facing issues start debugging with error logs as following. Add the following lines to your ...
Lalas Muathasim's user avatar
3 votes
Accepted

With a WSOD upon deployment of a site, should I first clear the cache, check watchdog logs, or check the Apache logs?

Yes. Because of the variety of possible Drupal stack configurations, it's impossible to say you'll always find your error in an Apache log. However, a WSOD generally means PHP has hit a fatal error ...
Shawn Conn's user avatar
  • 26.8k
3 votes
Accepted

WSOD when redirecting based on cookie

You should not be using theme_preprocess to perform any processing the results of which cannot be cached, only manipulation of variables to be passed to the final theme processing function or template....
Alfred Armstrong's user avatar
3 votes

Accesing blocks from the server via FTP

First of all, blocks are stored in the Database, not in your web directory. Therefore, FTP is useless here. If the custom block was created using a custom module, simply disable the module. If the ...
Bipin K's user avatar
  • 1,046
2 votes

White screen of death: Fatal error: Allowed memory size of X bytes exhausted

You can use a module to control this memory limit. PHP Runtime Configurator module provides many options to configure without changing your php.ini file and restart Apache. You can configure ...
Sahil Gupta's user avatar
2 votes
Accepted

WSOD "The provided host name is not valid for this server"

You need to add your domains into the array as per your first example. I.e. $settings['trusted_host_patterns'] = array( '^www\.yourdomain\.co\.uk$', '^yourdomain\.co\.uk$', ); Then clear the ...
Hitby's user avatar
  • 36
2 votes

How to see the error messages when I get the white screen of death?

I found easy way of tracking down the WSOD errors by running the whole site via drush, e.g.: drush rs After that access the site at the given new address (e.g. 127.0.0.1:8080), then try to reproduce ...
kenorb's user avatar
  • 14.1k
2 votes

How am I getting spam with WSOD?

The WSOD may have been caused by actually visiting your site, loading the page etc.. for example some block load error. Whereas the spam is probably sent directly to the form action by HTTP POST. As ...
David Thomas's user avatar
  • 21.8k
1 vote
Accepted

twig dump() creates WSOD error

I've solved this. In Drupal, modules also use composer (which I wasn't aware of). The vardumper module depends on the symfony/var-dumper package. Running: composer require --dev symfony/var-dumper ...
cameron cameron's user avatar
1 vote

With a WSOD upon deployment of a site, should I first clear the cache, check watchdog logs, or check the Apache logs?

Assuming that your site and Apache has worked just fine before the deployment, and since this happens during a code update I'd suggest to always clear the caches first. $ drush cr And since data/...
leymannx's user avatar
  • 17.8k
1 vote
Accepted

WSOD while sending headers, probably Cache-related

Now I could solve it myself. My Apache error logs did show AH00052: child pid 7363 exit signal Segmentation fault (11) so it must have been a problem with the Apache config. I took the opportunity ...
Georg Jähnig's user avatar
1 vote
Accepted

WSOD after chaning subtheme templates

Clearing the caching tables did the trick! Thanks CodeNext! However I could not use Drush, so I cleared them manually in PHPmyAdmin using this post
David's user avatar
  • 173
1 vote
Accepted

Server 500 error in a View which is working perfectly outside of the admin area

You are going to have to access the PHP error log file to determine the cause. Drupal may not always log an error since it the error may stop it from running. I would contact your host to see if they ...
Shane Birley's user avatar
1 vote
Accepted

How to debug a server reset or WSOD?

To debug more on WSOD, you can always go to Server (Apache2/httpd) error logs or if accessible Recent logs Messages (Admin => Reports => Recent Log Messages) in Drupal. You can find more details ...
Yogesh's user avatar
  • 3,183
1 vote
Accepted

WSOD and Drush cc all fail after deleting a view of a long-time-ago deleted module

Since I happen to know from WSOD afte uninstalling the Memcache module and deleting it's folder that you just stopped using Memcache, then I know that your Drupal site has just reverted back to ...
Les Lim's user avatar
  • 2,388
1 vote

White Screen of Death on Chrome

Well, I found a solution from here: http://www.zyxware.com/articles/3424/solved-drupal-boost-drupal-site-not-working-in-chrome-and-getting-a-blank-white-screen-when-boost-is-enabled I added the ...
Juuso's user avatar
  • 121
1 vote

Friendly error page to replace WSOD

You are getting WSOD because you turned error reporting off in php.ini. This is a security issue - if you have an error and hacker sees what it is, he may potentially use it to hack the site. If you ...
Alexei Rayu's user avatar
1 vote

Friendly error page to replace WSOD

Following, Theming the Drupal maintenance page, you can create the maintenance-page.tpl.php and maintenance-page--offline.tpl.php template files, and hard code some settings in the settings.php file. ...
cdmo's user avatar
  • 1,205
1 vote

How to see the error messages when I get the white screen of death?

If you are using drush, you can see error messages using drush-ws command.
Manikandan's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible