class-wp-list-util.php error
-
Hi guys,
I’m having problems with the plugin. I keep getting this error message:
“Warning: Invalid argument supplied for foreach() in /home/customer/www/my-domain.com/public_html/wp-includes/class-wp-list-util.php on line 165”
This is the code I found at line 165:
/* * 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; }
What should I do here? I’m having to rename the plugin to tmp in file manager just get access to admin again.
Thanks.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘class-wp-list-util.php error’ is closed to new replies.