2012-02-10 59 views
0

所有突然我的WordPress网站的显示以下内容:Wordpress标题错误?

Warning: array_unshift() expects parameter 1 to be array, null given in /home/rjames/public_html/rjamesphotography.co.uk/wp-content/themes/contrast/themolution/includes/theme-functions.php on line 37 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/rjames/public_html/rjamesphotography.co.uk/wp-content/themes/contrast/themolution/includes/theme-functions.php:37) in /home/rjames/public_html/rjamesphotography.co.uk/wp-content/plugins/si-contact-form/si-contact-form.php on line 1810 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/rjames/public_html/rjamesphotography.co.uk/wp-content/themes/contrast/themolution/includes/theme-functions.php:37) in /home/rjames/public_html/rjamesphotography.co.uk/wp-content/plugins/si-contact-form/si-contact-form.php on line 1810 

Warning: Cannot modify header information - headers already sent by (output started at /home/rjames/public_html/rjamesphotography.co.uk/wp-content/themes/contrast/themolution/includes/theme-functions.php:37) in /home/rjames/public_html/rjamesphotography.co.uk/wp-includes/pluggable.php on line 866 

Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 

这是罚款约3/4天,现在我得到这个。我甚至不能登录到管理员一边看看...任何人都可以指出我的方向正确 - 我对PHP不太热。

谢谢。

+0

你的主机上有多少可用空间? – 2012-02-10 08:53:54

+0

无限制...... – 2012-02-10 09:33:20

+0

那么,“无限”它永远不会是这样;我问,因为一旦我有类似的错误(特别是“写会话数据”失败),这是我的主机是完全的。在ssh控制台或CPanel中检查真实的可用空间。日志确实只显示那些错误,或者还有其他吗? – 2012-02-10 09:44:29

回答

0

你的主题是堆砌起来

你可以尝试直接在数据库中

UPDATE wp_options SET option_value = 'default' WHERE option_name = 'template'; 
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'stylesheet'; 
UPDATE wp_options SET option_value = 'default' WHERE option_name = 'current_theme'; 

希望,那么你可以登录更改主题编程这样的。在开始制作之前,先尝试一下你的开发环境

0

你唯一的问题就是array_unshift()错误。其余的消息是这样的结果。所以只有array_unshift()问题需要解决。

不知道是什么造成它从这个消息,虽然,什么line 37wp-content/themes/contrast/themolution/includes/theme-functions.php

+0

这是第37行.. array_unshift($ result,$ select); – 2012-02-10 09:35:19

+0

所以这意味着'$ result'是空的,如果不知道是什么导致了这个问题,我们就无法帮助你。我们需要更多关于代码的信息以及可能导致它的原因。修复不显示错误,你可以在'array_unshift'之前添加一个'@' – Richard 2012-02-10 12:09:55