我的問題是,使用備份夥伴將網站遷移到另一臺服務器後,我遇到了死亡的白屏。Wordpress難以追蹤的移民死亡白屏
我在Wordpress中打開調試模式,仍然沒有錯誤,只是白色的屏幕。
所以我嘗試刪除所有的文件,並重新上傳他們,並保持原樣(由BackupBuddy導入的),但它仍然給我白色的屏幕。
所以我試圖跟蹤發生白屏的特定行,並陷入了一個奇怪的行爲。
在/wp-content/plugins/woocommerce/widgets/widget-init.php:
include_once('widget-cart.php');
include_once('widget-featured_products.php');
include_once('widget-layered_nav.php');
include_once('widget-price_filter.php');
include_once('widget-product_categories.php');
include_once('widget-product_search.php');
include_once('widget-product_tag_cloud.php');
include_once('widget-recent_products.php');
include_once('widget-top_rated_products.php');
- 當添加一個 「管芯( '潮');」之前 「include_once('widget-price_filter.php');」 =繁榮打印出來。
- 當我添加一個「死('繁榮');」 「include_once('widget-price_filter.php');」 =繁榮不打印 了。
所以可以肯定的說這個bug是在widget-price_filter.php裏面的嗎?
問題是,當我在widget-price_filter.php的開頭添加一個die時,它不打印出來。這就像錯誤發生的路線是無處可去的。
這可能是什麼原因造成的?
錯誤日誌文件呢?你有檢查嗎? – ariefbayu