Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Kupası
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

WordPress Ölümün Beyaz Ekranı Nasıl Düzeltilir (Adım Adım)

Beyaz ölüm ekranı bir web sitesi sahibinin en kötü kabusu olabilir. Bu sinir bozucu WordPress hatası sizi boş bir sayfaya bakarken bırakır ve neyin yanlış gittiğine dair hiçbir ipucu vermez.

Daha da kötüsü, bu yaygın WordPress hatası bazen web sitenizin yönetici alanı veya tek tek yazılar gibi belirli bölümlerini etkileyebilir.

Örneğin, diğer her şey düzgün çalışırken WordPress yönetici alanında beyaz ölüm ekranını gördük. Diğer durumlarda, bunu yalnızca belirli bir yazıyı görüntülerken gördük.

Bu hatanın temel nedenlerini anlamak, bir çözüm bulmanın ilk adımıdır. Bu kılavuz, beyaz ölüm ekranını düzeltmek için birkaç çözümü kapsayacak ve web sitenizin işlevselliğini geri kazanmak için uygulanabilir adımlar sağlayacaktır.

How to Fix the WordPress White Screen of Death (Step by Step)

Not: Sitenizde herhangi bir değişiklik yapmadan önce WordPress sitenizin yedeğini aldığınızdan emin olun. Yönetici alanına erişiminiz yoksa, WordPress veritabanı yedeğinin manuel olarak nasıl oluşturulacağına ilişkin kılavuzumuza bakın.

WordPress’te Neden Beyaz Ölüm Ekranı Görüyorsunuz?

Çoğu zaman, WordPress web sitenizi ziyaret etmeye çalışırken beyaz bir ölüm ekranı gördüğünüzde, bu, web sitenizdeki bir komut dosyasının bellek sınırını aştığı anlamına gelir.

Yanıt vermeyen komut dosyası ya WordPress barındırma sunucunuz tarafından öldürülür ya da basitçe zaman aşımına uğrar. Bu nedenle gerçek bir hata mesajı oluşturulmaz ve sadece boş bir beyaz ekran görürsünüz.

WordPress showing white screen instead of website

Ancak bazen bir hata mesajı görebilirsiniz.

Örneğin, boş bir sayfa yerine kritik bir hata mesajı görebilirsiniz.

Critical error in WordPress

İster boş bir ekran görüyor olun, ister ‘Web sitenizde kritik bir hata oluştu’ mesajını görüyor olun, bu aynı hatadır.

Bu hata, sitenizde yüklü olan kötü kodlanmış bir tema veya eklenti nedeniyle de oluşabilir. Bazen, web barındırma sunucunuzla ilgili bir sorun varsa bu durum ortaya çıkabilir.

Beyaz ekran hatasına birçok şey neden olabileceğinden, düzeltmek için metodik sorun giderme gerekir. İşte denemeniz gereken adımlar:

Video Eğitimi

Subscribe to WPBeginner

Yazılı talimatları tercih ediyorsanız, okumaya devam edin.

1. Sorunun Diğer Sitelerinizde Olup Olmadığını Kontrol Edin

Aynı hosting hesabında yüklü başka WordPress siteleriniz varsa, sorunun diğer sitelerde de olup olmadığını kontrol ederek başlamak istersiniz.

Eğer öyleyse, bu WordPress barındırma hizmetinizde bir sorun olduğunun güçlü bir göstergesidir. Bu, hizmetlerini etkileyen geçici bir sorun olabilir ve daha fazla yardım için destek birimlerine ulaşmanız gerekir.

Öte yandan, sorun yalnızca bir web sitesinde veya o sitenin belirli bir bölümünde meydana geliyorsa, sorunun söz konusu web sitesinde olduğunu bilirsiniz.

2. WordPress Kurtarma Modu ile Beyaz Ekran Hatasını Düzeltin

Beyaz ölüm ekranı hatası bir WordPress eklentisi veya temasından kaynaklanıyorsa, WordPress bunu yakalayabilir.

WordPress 5.2’de sunulan yeni ölümcül hata koruma özelliği bazen hatayı yakalayabilir, bu nedenle beyaz bir ekran bile görmeyebilirsiniz. Bunun yerine, sitenin teknik sorunlar yaşadığını belirten bir mesaj görürsünüz.

This Site Is Experiencing Technical Difficulties Error Message

WordPress ayrıca yönetici e-posta adresinize sorunla ilgili bir e-posta gönderecektir.

E-postanın konusu ‘Sitenizde Teknik Bir Sorun Yaşanıyor’ olacaktır.

Technical Difficulties Email With Link to Recovery Mode

Bu e-posta mesajı, hataya neden olan eklentiyi veya temayı işaret edecek ve ayrıca özel bir bağlantı içerecektir.

Bu bağlantı WordPress kurtarma moduna giriş yapmanızı ve hatalı eklentiyi devre dışı bırakmanızı sağlayacaktır.

WordPress recovery mode dashboard

Ancak, e-posta veya kurtarma modu seçeneği olmadan düz beyaz ölüm ekranını görüyorsanız, hatayı manuel olarak düzeltmeniz gerekir.

3. Bellek Sınırını Artırın

Bu hata genellikle bir komut dosyasının web sunucunuzun belleğini tüketmesi ve yarıda bırakması nedeniyle oluşur.

Bunu düzeltmek için WordPress’in kullanabileceği PHP belleğini artırmanız gerekir. Bu, betiğin yapması gereken işi bitirmek için daha fazla bellek kullanmasını sağlayacaktır.

WordPress sitenizdeki wp-config.php dosyasını düzenlemeniz veya WPCode gibi bir kod parçacığı eklentisi kullanmanız gerekecektir.

WordPress’te PHP belleğinin nasıl artırılacağına ilişkin eğitimimizdeki talimatları takip edebilirsiniz.

4. Tüm Eklentileri Devre Dışı Bırakarak Beyaz Ekran Hatasını Düzeltin

PHP bellek sınırını artırmak işe yaramadıysa veya 256M veya 512M gibi yüksek bir bellek sınırınız varsa, sorun gidermeye başlamanız gerekir.

Bu sorunu giderme deneyimimizde, sorunun her zaman belirli bir eklenti veya temayla ilgili olduğunu gördük. Devam edelim ve tüm eklentileri devre dışı bırakalım.

WordPress yönetici panosuna hala erişebiliyorsanız, Eklentiler ” Yüklü Ek lentiler sayfasına gidebilirsiniz. Yüklü tüm eklentileri seçin ve ardından ‘Toplu eylemler’ açılır menüsünden ‘Devre dışı bırak’ı seçin.

Deactivate all WordPress plugins

Ancak, WordPress yönetici alanına erişiminiz yoksa, tüm eklentileri FTP aracılığıyla devre dışı bırakmanız gerekecektir.

Öncelikle, bir FTP istemcisi veya barındırma sağlayıcınızın dosya yöneticisini kullanarak WordPress sitenize bağlanın. Bağlandıktan sonra, eklentiler klasörünü göreceğiniz wp-content klasörüne gidin.

Şimdi, eklentiler klasörüne sağ tıklamanız ve ardından ‘Yeniden Adlandır’ı seçmeniz gerekir. Eklentiler klasörünü ‘plugins-deactivated’ olarak yeniden adlandırabilirsiniz.

Using FTP to Rename the Plugins Folder

WordPress tüm eklentileri yüklemek için eklentiler adlı bir klasör arar. Klasörü bulamadığında, tüm eklentileri devre dışı bırakır.

Bu sorunu çözerse, sorunun kaynağına ulaşmak için her seferinde bir eklentiyi etkinleştirin. Soruna neden olan eklentiyi bulduğunuzda, onu bir alternatifle değiştirebilir veya sorunu eklenti yazarlarına bildirebilirsiniz.

5. Varsayılan Temayı Etkinleştirin

Eklenti sorunlarını giderme sorunu çözmezse, etkin temanızı varsayılan bir tema ile değiştirmeyi denemelisiniz.

İlk olarak, bir FTP istemcisi kullanarak web sitenize bağlanın ve /wp-content/themes/ klasörüne gidin. Bu klasör web sitenizdeki tüm yüklü temaları içerir.

Mevcut WordPress temanızı seçmek için sağ tıklayın ve yedek olarak bilgisayarınıza indirin.

Using FTP to Download the Current Theme as a Backup

Ardından, mevcut temanızı web sitenizden silmeniz gerekir.

Tema klasörünüze sağ tıklayın ve ‘Sil’i seçin. FTP istemciniz şimdi temayı web sitenizden silecektir.

Using FTP to Delete the Current Theme

Şimdi, web sitenizde (Twenty Twenty-Two veya Twenty Twenty-Three) gibi varsayılan bir WordPress teması yüklüyse, WordPress otomatik olarak bunu varsayılan tema olarak kullanmaya başlayacaktır.

Ancak, yüklü bir varsayılan temanız yoksa, FTP kullanarak manuel olarak yüklemeniz gerekir.

Bu sorunu çözerse, temanızın functions.php dosyasına bakmalısınız. Dosyanın altında fazladan boşluklar varsa, bunları kaldırmanız gerekir ve bazen bu sorunu çözer.

Temanızın functions.php dosyasında kötü kodlanmış bir işlev kullanıyorsanız, bu da beyaz ekran ölüm hatasına neden olabilir.

Temanızın yeni bir kopyasını kaynağından indirmeyi ve ardından FTP kullanarak manuel olarak yüklemeyi düşünün.

6. WordPress’te Hataları Yakalamak için Hata Ayıklama Modunu Etkinleştirin

Şimdiye kadar hiçbir şey yardımcı olmadıysa, bir sonraki adım WordPress’te hata ayıklamayı açmaktır. Bu, ne tür hataların çıktılandığını görmenizi sağlayan hata günlüklerini tutacaktır.

Aşağıdaki kodu wp-config.php dosyanıza eklemeniz yeterlidir:

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

Bunu eklediğinizde, boş ekranda artık hatalar, uyarılar ve bildirimler olacaktır. Bunlar temel nedeni belirlemenize yardımcı olabilir.

Herhangi bir hata görmüyorsanız, yine de hata ayıklama günlüğünü kontrol etmek isteyebilirsiniz.

Bir FTP istemcisi kullanarak web sitenizdeki wp-content klasörünü ziyaret etmeniz yeterlidir. Orada, tüm hataların, bildirimlerin ve uyarıların günlüğünü içeren yeni bir debug.log dosyası bulacaksınız.

Debug log

7. WordPress Önbelleğini Temizleyin

Bazen, arka uca erişiminiz olabilir, ancak sitenin ön ucunda beyaz ölüm ekranı vardır.

Bu, bir önbellek eklentisi nedeniyle gerçekleşebilir. Bu durumda, WordPress önbelleğinizi boşaltmanız yeterlidir.

Ayrıntılı talimatlar için WordPress’te önbelleğin nasıl temizleneceğine ilişkin kılavuzumuza bakabilirsiniz.

8. Daha Uzun Makaleler İçin Beyaz Ekran Hatasını Düzeltin

Yalnızca çok uzun bir yazı veya sayfada beyaz ekran sorunu yaşıyorsanız, bu yöntem işe yarayabilir.

Bu hile temel olarak PHP’nin metin işleme kapasitesini özyineleme ve geri izleme sınırını artırarak artırır. Aşağıdaki kodu wp-config.php dosyanıza yapıştırabilirsiniz:

/** Trick for long posts */
ini_set('pcre.recursion_limit',20000000);
ini_set('pcre.backtrack_limit',10000000);

Bunun çok sinir bozucu bir hata olduğunu anlıyoruz ve yukarıdaki püf noktalarından birinin sorunu sizin için çözdüğünü umuyoruz.

WordPress sorunlarını kendi başınıza yakalamak ve çözmek için atmanız gereken adımları öğreten WordPress sorun giderme kılavuzumuza veya en yaygın WordPress blok düzenleyici sorunları ve bunların nasıl çözüleceğine ilişkin listemize de göz atmak isteyebilirsiniz.

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.

Açıklama: İçeriğimiz okuyucu desteklidir. Bu, bazı bağlantılarımıza tıklarsanız komisyon kazanabileceğimiz anlamına gelir. WPBeginner'ın nasıl finanse edildiğini, neden önemli olduğunu ve nasıl destek olabileceğinizi görün. İşte editoryal sürecimiz.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Ultimate WordPress Araç Kiti

Araç setimize ÜCRETSİZ erişim sağlayın - her profesyonelin sahip olması gereken WordPress ile ilgili ürün ve kaynaklardan oluşan bir koleksiyon!

Reader Interactions

295 yorumBir Cevap Bırakın

  1. Dagoberto

    I need to downgrade 3.9.2 to 3.9.1.

  2. Sylvester Lapisang

    Thanks for the post, deactivated all the plugins and it worked, Zopim Chat was the problem

  3. wohfab

    It was a crashed functions.php for me (desptie I did not change anything o.o) – THANK YOU SO MUCH!

  4. Aleksandar

    Great tips. In my case (WP v.3.5.1) problem was plugin wp-super-cache. I just delete it and all works ok. I didn’t have time to update and upgrade instalation and plugins.. So maybe this helps.

  5. Chris

    Thanks, both removing plugins and changing themes to default worked for me. but my prob is i can’t activate my plugins. it’ll just open another white screen of death. all plugins.

  6. Hans Haupt

    Thank you so much for your post.

    I tried updating my theme and was met with the ‘White Screen of Death’.

    I took your advice to delete the problematic theme from the site cPanel and ‘presto’, I was able to log back into wordpress and change the theme to one that works.

  7. Bryan Myers

    Here’s something else to look for- make sure you close out the php tag on the page information block (not sure of it’s real name) at the top of your template page. doh.

  8. Kaveh

    Thank you so much
    Your instruction helped me fix my problem :)
    tnx again

  9. bashar

    Thank you so much.. Problem is solve.
    Really loving wpbeginner.com

  10. Tommy

    Hey all I had this problem too and found a solution. It seemed to happen from updating from 3.71 to 3.72.

    Ok so I tried the following:

    rename plugin folder
    delete theme
    change memory in config file
    report errors in config file

    I then saw the error:

    Parse error: syntax error, unexpected $end in /home/public_html/wp-includes/cron.php on line 247

    I checked the cron.php and it looked like loads of the code was cut off because it endee with a comment. So I uploaded a new cron.php file from wordpress and it worked.

    I hope this may help others who have this issue.

    Thanks

  11. Mike

    It’s the first time I write here. In my case, everything is blank, I can’t even log in with
    It is still under construction, so I just uploaded a new theme and all went blank.

    I know I have to revert the theme to the “twenty twelve”, but how? If I can’t even log in.

    any help?! THANK YOU

    • WPBeginner Support

      Connect to your website using an FTP client, go to /wp-content/themes/ directory and delete the theme you just uploaded. If your webhost offers cPanel, then you can use file manager in cPanel to delete the theme.

      Yönetici

  12. Jay Lawrence

    Here’s another way to get WSOD! My template, from Yoo Themes, generates a ‘cache’ directory. I accidentally filled the drive with this website causing a zero byte cache file.

    root@www:/var/www/wp-content/themes/yoo_vanilla_wp# ls -l cache/
    total 32
    -rw-r–r– 1 www-data root 25 Mar 13 16:41 index.php
    -rw-r–r– 1 www-data www-data 0 Mar 13 16:43 xml-9ae22c153220f9eda980e5ec3b598954.php

    Delete the “xml*.php” files in here after you’ve cleaned up your drive … back in business.

    That only took a couple hours of hunting – groan.

    • Ope

      Sorry i deleted the xml.php file but it still came back the moment i refreshed the wp-admin page. yet WSOD persist. Any help. am using a yoo theme too

  13. Michelle

    I have this White Screen on my website, have tried EVERYTHING and nothing working. I cannot access my wordpress login or admin page. It is a new website, so I dont mind wiping it clean and starting again, but I have tried to upload a fresh install of wordpress 3 times and it keeps crashing dreamweaver. Is there any other way I can fix this?? Need help Please :(

  14. Aamna

    I am a subscriber of your site and my client is also seeing the white screen of death
    I have used all the fixes but still no success
    What I fell is that I think my clients site’s wp-content has unnecessary folders like
    1- backups (files in this folder are ( .htaccess, .backup_running, database_arcproject_co_u.sql)
    2-cache
    3-uploads(it has many folders of images)
    Please tell me what should I do?
    Thanx

    • WPBeginner Support

      First make sure that your client has a backup. If they don’t have a backup then you need to create one now before you make any further changes.

      After that you can start deleting the unnecessary files from wp-contents folder. Try deactivating all plugins by renaming the wp-content/plugins folder to wp-content/plugins.old.

      Yönetici

      • Aamna

        I have tried disabling the plugins but it didn’t worked.
        Anyways how can i take a backup of the site?

        • WPBeginner Support

          In case you don’t have access to the admin area, you would first need to make a database backup manually. After that you would need to download all the files from the website, using an FTP client.

  15. AJ

    One of the most common causes of whitescreen is white space at the beginning or end of a functions.php file or other php file. Often when cutting and pasting or simply editing code a line break gets in at the top or bottom and bam!!…

    Look before the tag at the bottom.

  16. jd

    i did some testing and have uploaded a new theme to the server and have added no limit on the memory and reinstalled the wp to current one. and what i found out to be an issue is with the SQL data base.. when wp tells the SQL server that i have deleted or updated info it seems to keep everything even the deleted items.. NOw the big question what did i do to fix it. well i went to the data base and erased the whole thing and then renamed it back to the same one and went to my site and enter some basic info that showed up .. and BAMMM no white screen i went and turned on the theme and continued my adjustment and creation

  17. Lea

    Hi,

    I took over a WP website for a client and I logged in once, updated the pluggins and since then, I can’t enter the Admin section of WP nor see the website. White screen of death indeed, for both.

    I have read in the comments part above that someone had the same issue, which you directed to the article “Locked out of WordPress admin area.” Unfortunately, in that article, you direct the person with a White screen of Death to the “How To fix the WorldPress White screen of death” article, which is this topic here.
    So… I am a beginner to WP and I am lost. + my client hasn’t had a website for the past 24 hours.
    I would really appreciate some help or re-direction to a tutorial/article that tell me how to actually access my admin page !

    Thanks a lot in advance.

    Lea

    • Dum

      Renaming wp super cache plugin directory in “Plugins” folder resoved the issue

  18. abdul aziz

    Brother !!!!!!!!!! Really Thank you, it was theme problem , can you suggest me how to fix this problem with same theme???

  19. Abdul Azzi

    i have followed all steps……… but still having same error..

    please suggest me what i should have to do ???

  20. Boby

    Hey, my WordPress page only can visit by me (admin), when i logout, the homepage is white screen. please help

    • WPBeginner Support

      Try switching to a default theme like twenty thirteen or twenty fourteen. If this does not solve your problem, then disable all installed plugins. Also update your permalinks.

      Yönetici

  21. Darlo

    Tried to update my blog today and had problems (was using Wordpress app for android). Had considered it to be an app problem and reinstalled it before considering to actually check the site (something I should really have done in hindsight). As I have more than one blog hosted on the same site (the other being fine) I started to get panicky. After diving into a net-cafe I managed to find this trouble shooting guide and now I’m back online.

    Thank you.

  22. Lark

    I’m working with the Roots theme. Turned on the computer and had a white page. Had no memory of what I had done a few weeks before. Replacing the custom theme with the default theme and then undoing changes to scripts.php and widgets.php worked for me. Wow, simple solution, but sometimes it’s quite hard to see simple troubleshooting through the panic… Thanks so much!

  23. Claudia

    Great help. 1000 Thanks
    My issue resolved.

  24. Ian

    Thank you. I thought I’d lost everything.

  25. Cesar Pietri

    Thanks,
    It was a great help
    In my case solve rename the plugins folder.

  26. Lois Wakeman

    Another cause that I just found (WSOD in site and backend) after upgrade.

    Manual upgrade via FTP was interrupted by a lost connection and somehow a file got missed.

    I used your helpful instructions to turn on debugging having ruled out themes and plugins as problems, which allowed me to trace the offending file and upload it. Voila!

  27. soeb

    Thanx it was a great help..!
    In my case it was functions.php file.

  28. Rhodon

    I had to activate the debug mode, and this is my error:
    Warning: require_once(ABSPATHwp-admin/includes/dashboard.php): failed to open stream: No such file or directory in /var/www/domains/rhodon.nl/www/wp-admin/index.php on line 13 Fatal error: require_once(): Failed opening required ‘ABSPATHwp-admin/includes/dashboard.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /var/www/domains/rhodon.nl/www/wp-admin/index.php on line 13
    How can I solve this?
    Rhodon

  29. Junior

    I had to use the edit phpMyAdmin fix to finally get it to work. Editing the database is never fun but your clear instructions made it easy. THANKS!!!

  30. Thomas

    It was the blank lines in functions.php

    Thanks so much!
    Finally read it in the comments.

    • JohnLionFlow

      Same here! Removed the blank lines in my theme’s functions.php file and it worked.

    • earthora

      I had the white screen on everything, front and backend, was starting to panic. I removed the last blank line in functions.php and I’m all back up and running. How would it get there? I’ve never opened it on this installation?

  31. Christal

    I was able to get out of the “white screen of death” by changing my file name from plugins to plugins-temp, but then my site had reverted back to the old theme, and when I reverted to my new theme (which was installed about a month ago), all of my plugins and widgets were gone! It’s a very basic theme with all of the customizations gone! How do I recover all of this??

  32. Eric Gitonga

    I had to go into phpMyAdmin and into my MySQL database to drop all the wp-* tables created from a previous Wordpress install before I could solve the White Screen of Death problem. It now works just fine.

  33. Ilke

    Hi,
    I was very happy with your advice once about a year ago with a white screen on the entire front-page of a wp-website. Unfortunately, this time (and for another site) it doesn’t work so far.

    I extended the memory several times (I’m at 512M now) and changed the auto keys, that didn’t help. Now I renamed the plugins-folder to plugins.deactivated, and I get this error message:

    Fatal error: Cannot redeclare _1059195956() (previously declared in /public/sites/www.name.nl/wp-includes/version.php:9) in /public/sites/www.name.nl/wp-includes/version.php on line 9.

    Any idea what else I can try?
    Thanks for sharing all this useful information,
    Ilke

    • WPBeginner Support

      Try renaming your theme’s folder as well. After that you need to download WordPress and upload a fresh copy of themes folder to your site. WordPress will now fall back to default twenty thirteen theme. Let us know if it worked for you.

      Yönetici

      • Ilke

        I did rename the current themes folder and uploaded a fresh themes folder from a new wp 3.7 download. Unfortunately, that gives me a white screen altogether on the front as well as the back office and I still receive the same error-message.

        With debug set to true in wp-config I got
        Notice: WP_User->id was called with an argument that is deprecated since version 2.1
        and a few other deprecated notices as well as a notice that wp_enqueue_script and wp_enqueue_style was called incorrectly, which both refer to the functions.php

        This is really starting to worry me. Do you happen to have some other advice still?

        Best,
        Ilke

      • Ilke

        I also tried renaming the plugins-folder and uploading a fresh one. And I cleared the cache. Still I get the same error-message. Since (with debug set to true on wp-config) I get Notice: undifined index-messages concerning two plugins, should I delete those?

  34. Puja singh

    Hi, I am facing the same blank page problem for my site . I tried most of the mention step
    Disable all plugin
    Activate the default theme.
    increase the memory limit to 128 MB.

    but no luck, any help will we appreciated.

  35. suneel

    Life saving tutorial…

    Thank u very much

  36. Justin

    Thank you. I seem to get it when I’ve been making lots of updates to my site, then I get locked out and have to wait. A memory issue would make sense. Time to clean out a bunch of unused plugins.

  37. Michael Lambertz

    Another reason can be false permissions… I tried to copy a wordpress directore via unix command cp -R, and after that all copied files weren’t in the group www-data. chgrp www-data wordpress_dir/ -R did it for me ;-)

  38. Jacob Worsøe

    I have periodically white screens on both frontend and backend. The white screens occur in a completely random pattern. Are the recommendations the same in my situation or do they only apply to more permanent issues?

    • Editorial Staff

      Yes. It seems like you’re site is running out of memory because of a process that’s being ran. So the process is the same.

      Yönetici

  39. Hossein

    thank you soooooooooo much, my problem solved, it was because of blank lines in my functions.php

  40. LC

    I can’t even enter the Admin section of WP. I get the blank page. What should I do?

  41. Rosie

    Thanks, this was useful. I had the white screen on the live site, but WP admin was fine. I use WP Super Cache and I cleared the cache with no effect, then deactivated all plugins, and when I’d tried everything else I suddenly thought of the expired cached pages.

    If you use WP Super Cache you have to delete the expired cache too. That worked right away. Then I set my garbage collection (on the Advanced tab) to hourly instead of daily, to try to prevent it happening again.

    • Tom B.

      Hello .. thought I might add 2cents,

      I’m using WP Super Cache too and often crashed to White Screen. Looked at the wp-config.php file and found they were putting their instructions above the SQL allocation in the script, so I moved them down and added the ‘default Memory Limit’ tweak and now my site http://webinardatabase.com/ smokes!

      REF:
      First save a unmodified copy of wp-config.php to your HD.

      Open your wp-config.php, which is located in the root WordPress directory.

      Locate the WP Super Cache code (their code is obvious –three lines- the fourth is a duplicate, but I left it), and move them down (I put mine above the SALTS).

      Then add the following line: define(‘WP_MEMORY_LIMIT’, ’64M’);
      Just BEFORE the super cache, seemed logical.

      And save, check performance.

      IDK, I think this is a bug. Made no sense to be allocating cache before opening the SQL database.

      Worked for me. Prost! — Thanks Wpbeginner.com

      PS: Just noticed the post below, WP Super Cache requires permalinks be set to post name, this error appeared on a fresh install. 2 more cents.

      • Tom B.

        Follow-up.

        Had to kick WP Super Cache to the curb.. too buggy.. Gone with W3 Total Cache.

        Lone Watie: We thought about it for a long time, “Endeavor to persevere.” And when we had thought about it long enough, we declared war on the Union.

        Union = WP, really is this the answer?!

        • Tom B.

          Ps: Once the plugin is deleted, return to wp-config and manually remove WPSC lines.

          Really, no, really!?!

      • Glenn "TheeMahn" Cady

        Tom, I would like to personally extend a much deserved thanks.

        My wpconfig had define(‘WP_MEMORY_LIMIT’, ’64M’); after supercache, moving it above has closed my “White screen of death issue.” I had been refreshing for months. The site now seems fairly snappy.

        Thanks again Tom,

        TheeMahn

  42. Jacobus

    Personally I haven’t had this problem, yet, I have the problem that I have to reset my permalinks all the time because of endless redirects. Drives me crazy. Every time I publish a new post on my blog I have to set the permalinks back to standard and then back to post name. Do you know if this is host related or plugin related?

  43. Manish Anand

    Yep, turning on Debug option helped. It was incomplete uploading of query.php file.

    Thanks

  44. Joel Andrew Glovier

    Here’s another suggestion when none of the above works, try flushing your rewrite rules cache.

    I had a single page on my site returning as a blank page, and tried almost every solution above, as well as some other things (like installing Debug Bar plugin, etc) to no avail.

    I was able to narrow it down to what I assumed to be a premalink issue, however, since the page had been working before, and stopped working; and also because even when I used a different page template it still was not working properly (I had prior to that assumed to had to do with my custom wp_query in that page template).

    So I started investigating the Wordpress rewrite system, and came to find out Wordpress keeps a cache of all the custom page slugs and rewrite rules. (more about that here: http://codex.wordpress.org/Rewrite_API/flush_rules and here: http://codex.wordpress.org/Function_Reference/WP_Rewrite)

    I also found that this method is used to flush the rewrite cache: $wp_rewrite->flush_rules();

    So I tried just adding it to the second line in my functions.php file, and after one page refresh the page contents showed up again.

    IMPORTANT: make sure to remove the method after using it once, as there are some costly performance hits associated with leaving that code in your file. You should only need to use it once to resolve the issue, however.

    • Editorial Staff

      Saving the permalinks settings again will also flush the rewrite rules from our understanding. Thanks for the suggestion about this :)

      Yönetici

      • Joel Andrew Glovier

        Yeah, but that didn’t work in my case. In fact, normally you don’t even have to save the Permalink settings page, just visit it. But in my case that neither visiting, nor saving, nor chaning to another setting and changing back worked.

        But actually I discovered it was something much more obscure, and the flushing was only a temporary band-aid.

        Turns out I had a conflict between a page with the title/slug of “team” and a custom post-type with the rewrite slug of “team”. The custom post type ended up winning out, except when I put the rules flush in place, in which case it stopped it from winning out.

        But the real reason I was getting the white screen was because when the custom-post type slug was winning out, it was defaulting to rendering the page with the archive.php file, which I had created (as my theme is from scratch), but not put any markup in yet. The file was completely blank, hence my white screen.

        Womp womp womp wanhhhhh.

        • Editorial Staff

          Yup that would do it. We learnt that the hard way by looking at one of our user’s themes.

    • Christian

      !!IF YOU TRIED EVERYTHING THIS WILL WORKS!!!

      Nothing else could even make a change in the BLANK PAGE.
      I put that code an recivied a error, after that I removed it and the website was online again!

      I was about to broke my laptop hahahha

  45. Jonath Lee

    Whenever you’re testing themes or plugins, always leave a tab for “Themes”. In case of WSOD, you may still able to activate the default twenty eleven themes.

    • Editorial Staff

      That doesn’t work if your admin is also locked. The next screen will just return a white screen of death too.

      Yönetici

      • Jonath Lee

        It could? May be I haven’t reach the Admin Lock level so, I guess we should leave the tab for the phpmyadmin page instead +_+

  46. Johnny

    Damn! Just seen the section in the article about the functions.php file – oops! Oh well it will teach me not to read so quickly!

  47. Johnny

    Another ‘gotcha’ is whitespace below the closing ?> in your functions.php file. I got this once a while back and deleting the whitespace below it solved the problem. This can also cause a white screen after hitting the publish button as well.

Bir Cevap Bırakın

Yorum bırakmayı seçtiğiniz için teşekkür ederiz. Lütfen tüm yorumların yorum poli̇ti̇kasi uyarınca denetlendiğini ve e-posta adresinizin yayımlanmayacağını unutmayın. Ad alanında anahtar kelime KULLANMAYIN. Kişisel ve anlamlı bir sohbet edelim.