title: Can't see images in Media Library in Wordpress (Localhost)?
body: <p>I am developing my website on localhost (WordPress version 4.9.3.2) right now and whenever I switch to any default theme like twentyfourteen, I am very much able to upload and view images in Media Library, but whenever I am on my own theme, neither am I able to view any images, nor upload.</p>
  
  <p>The errors are as follows -</p>
  
  <ol>
  <li><p>Can't upload featured image.</p></li>
  <li><p>Can't upload any image through post.</p></li>
  <li><p>Can't see any images in media library.</p></li>
  <li><p>The images that I try to upload 'through' media library, get saved in the 'uploads' folder, so I know that my folder location is right, but even then I can't see them.</p></li>
  <li><p>The images do not get saved in 'uploads' folder if I try to upload them through a post or anything, only through media library they get saved.</p></li>
  </ol>
  
  <p>The solutions I tried -</p>
  
  <ol>
  <li><p>I have not installed any plugins yet, so disabling/enabling one is out of the question.</p></li>
  <li><p>I have increased the memory limit to 256M, nothing happened.</p></li>
  <li><p>I have also tried installing wordpress again, nothing happened either.</p></li>
  <li><p>I tried changing image-editor to default-GB in functions - nothing happened.</p></li>
  </ol>
  
  <p>I don't know what I am doing wrong, but this has really frustrated me since over a week. If someone can help, it will really be appreciated. </p>
  
  <p>Thanks!</p>