Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress: media library grid mode infinite loading

Tags:

wordpress

So this problem is very strange because for me doesn't work Wordpress media library in Wordpress admin menu only grid mode, its very strange problem because this problem occurs ONLY on 1 account/ That would be same account that yesterday i was trying upload bunch of pictures to media library and it gave error:

Try again later...

Since that i have tried many things but besides logging with other account nothing helped.

  1. Tried reninstall wordpress via wordpress admin panel
  2. Tried disabling all plugins, changed theme to default wordpress
  3. Tried inspect elemet for JS errors nothing there except

upload.php?mode=grid:46 Consider using 'dppx' units, as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi)

  1. Tried include in theme functions bunch of codes that i found on internet didn't helped.(i don't have them now since nothing helped and i didn't saved them sorry...)

  2. Tried flushing cache, proxy, different computers, different operating systems(max,windows), tablet nothing still on that particular account media grid view doesn't work

    View that 'm seeing is this: enter image description here

I don't understand whats wrong, why on 1 particular account it doesn't work i even tried flushing Wordpress cache but it doesn't work after i received that error which i showed above. Did somebody know how can i solve this? Thanks in advance!

like image 413
Danniel Avatar asked Apr 10 '15 20:04

Danniel


People also ask

Why is media not loading in WordPress?

As stated, the most common reason your Media Library isn't loading is due to an incompatible or poorly coded WordPress plugin or theme. When using plugins and themes from the WordPress Directory, this typically shouldn't be a problem.

Does WordPress media library have a limit?

Generally, the maximum upload size in WordPress ranges from 2MB to 150MB, depending on your web hosting settings.

Does WordPress Media Library slow down site?

Media files are often necessary additions to any website. However, it's easy for your WordPress Media Library to become full of unused files, which can slow down your website and make media management difficult.


2 Answers

Got exactly the same problem and some ajax error on revolution slider too, and after searching for long time i resolved my problem.

It was just an HTML comment in functions.php on child theme, after remove it, everything work perfectly for me.

Same problem with space in function.php don't cut your code with space between php tag

like image 144
FloJDM Avatar answered Sep 16 '22 11:09

FloJDM


this type problem is create by functions.php file , remove the code of you added in functions.php and than see it work proper.

standerd code write in functions.php file

like image 44
Pankaj Kanani Avatar answered Sep 18 '22 11:09

Pankaj Kanani