我的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不太感兴趣。
谢谢。
您的主题是填充
你可以尝试直接在数据库中用程序改变主题
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';
希望你能登录。在生产
此处唯一的问题是array_unshift()
错误。剩下的信息就是这样的结果。因此,只需要修复array_unshift()
问题。
但不确定是什么原因导致了这条消息,wp-content/themes/contrast/themolution/includes/theme-functions.php
中的line 37
上有什么??