解决方法是找到报错的位置然后看哪个变量是没有初始化而直接使用的,将这个变量先实例化一个空类。如:
$ct = new stdClass();
+本文来源gao!%daima.com搞$代*!码9网(
搞gaodaima代码修改文件相应代码,如:
if ( ! isset( $themes[$current_theme] ) ) {<BR> delete_option( 'current_theme' );<BR> $current_theme = get_current_theme();<BR>}<BR>$ct = new stdClass(); <!---ecms -ecms 添加这行--><BR>$ct->name = $current_theme;
问题解决。