Ошибка при подключении плагинов
-
stdClass::$plugin in /var/www/vhosts/u0298987.plsk.regruhosting.ru/httpdocs/tp-s.ru/wp-includes/class-wp-list-util.php on line 153 Notice: Undefined property: stdClass::$plugin in /var/www/vhosts/u0298987.plsk.regruhosting.ru/httpdocs/tp-s.ru/wp-includes/class-wp-list-util.php on line 153 Notice: Undefined property: stdClass::$plugin in /var/www/vhosts/u0298987.plsk.regruhosting.ru/httpdocs/tp-s.ru/wp-includes/class-wp-list-util.php on line 153 Notice: Undefined property: stdClass::$plugin in /var/www/vhosts/u0298987.plsk.regruhosting.ru/httpdocs/tp-s.ru/wp-includes/class-wp-list-util.php on line 153 Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/u0298987.plsk.regruhosting.ru/httpdocs/tp-s.ru/wp-includes/class-wp-list-util.php:153) in /var/www/vhosts/u0298987.plsk.regruhosting.ru/httpdocs/tp-s.ru/wp-admin/admin-header.php on line 9
Вот код
public function pluck( $field, $index_key = null ) { $newlist = array(); 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 ) ) { $newlist[ $key ] = $value->$field; } else { $newlist[ $key ] = $value[ $field ]; } } $this->output = $newlist; return $this->output; }
- Тема изменена 2 года, 8 месяцев назад пользователем . Причина: please use CODE button for code formatting
Страница, с которой нужна помощь: [войдите, чтобы увидеть ссылку]
- Тема «Ошибка при подключении плагинов» закрыта для новых ответов.