2015-12-22 135 views
0

当我进入wordpress登录时,我有一个空白页面。我找到教程来解决它在http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-wordpress-white-screen-of-death/Wordpress登录空白页面

当我尝试调试它,我有这样的错误

注意:wp_enqueue_style:在/home/xxxxx/public_html/wp-config.php已经定义上线72

公告恒WP_DEBUG被错误地称为。在wp_enqueue_scripts,admin_enqueue_scripts或login_enqueue_scripts挂钩之前,脚本和样式不应注册或排队。有关更多信息,请参阅WordPress中的调试。 (在3.3版本中添加了该消息。)在/home/xxxxxx/public_html/wp-includes/functions.php上线3787

你能帮我解决这个问题?

谢谢

+0

白色屏幕,PHP内部的任何代码:读取服务器的错误日志。 –

回答

0

您可能试图在脚本之外排列脚本。你不显示在你如何排队脚本,以便寻找像wp_enqueue_script($handle, $src);,并确保它是一个功能

add_action('wp_enqueue_scripts', 'load_scripts'); 
function load_scripts() { 
    wp_enqueue_script($handle, $src); 
}