在WordPress仪表板中添加新插件时,我会看到此错误。请任何专家解决我的问题 我的网站:https://serverproofs.com
我已经使用了最新版本的WordPress。 我使用优惠券主题。
if ( ! $index_key ) {
/*
* This is simple. Could at some point wrap array_column()
* if we knew we had an array of arrays.
*/
foreach ( $this->output as $key => $value ) {
if ( is_object( $value ) ) {
//152 line $newlist[ $key ] = $value->$field;
} else {
$newlist[ $key ] = $value[ $field ];
}
}
$this->output = $newlist;
return $this->output;
}
注意:未定义的属性:stdClass :: $ plugin在第152行的/home/servupgg/public_html/wp-includes/class-wp-list-util.php中
注意:未定义的属性:stdClass :: $ plugin在第152行的/home/servupgg/public_html/wp-includes/class-wp-list-util.php中
答案 0 :(得分:0)
依次尝试以下解决方案,其中一种肯定可以解决问题。
解决方案1:转到仪表板->更新->在您拥有WordPress的最新版本后,单击立即重新安装。
解决方案2:在配置文件define('WP_DEBUG',false);中将调试模式设置为false;
解决方案3:通过Litespeed Cache插件或您选择的任何插件从db中删除所有瞬态。