title: Posts List not displaying in Wordpress admin panel
body: <p>I Have 260 posts in Wordpress blog. But only the first one is displaying in the admin panel. (wp-admin/edit.php). Pages and comments list are loading without any issues. </p>
  
  <p><a href="https://i.stack.imgur.com/PMn2z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PMn2z.png" alt="Only One post is displayed here"></a></p>
  
  <p>The server error log says: </p>
  
  <blockquote>
    <p>PHP Fatal error:  Cannot use object of type WP_Error as array in /home/jxjx/public_html/jxjxjx.com/wp-includes/class-wp-list-util.php on line 152, referer: <a href="https://jxjxjx.com/wp-admin/edit.php" rel="nofollow noreferrer">https://jxjxjx.com/wp-admin/edit.php</a></p>
  </blockquote>
  
  <p>Tried these:</p>
  
  <ul>
  <li>Updating Wordpress, Themes and Plugins.</li>
  <li>Disabling All plugins.</li>
  <li>Reinstalling Wordpress.</li>
  <li>Cleaning up and Optimizing the database.</li>
  <li>Allocating More memory and execution time. 
  Update</li>
  <li>Changing the theme to default</li>
  </ul>
  
  <p>But on the front end, everything works well. What can be the problem ?</p>