• Anonymous User 11187416

    (@anonymized-11187416)


    Hi there,

    Got a really strange issue and I really need help urgently.

    The Media Library grid view does not work if a user is not super admin.

    This means adding featured images and inserting pictures doesn’t work.

    I have the upload_files option ticked for all roles. And Grid view works perfectly for Super Admins, but any other level (in-build WP ones or custom sets) the spinner remains-on screen.

    There are no server-side or JavaScript errors being reported. This is urgent as tomorrow loads of people will be adding content to sub-sites and need this function. I’ve spent over 6hours so far trying to find a way around this.

    I have also tried

    – Fresh WP install
    – Disabling All Plugins
    – Disabling All Themes

    And the issue is still there. Please help.

    Martin

    P.S. I haven’t put a link to the site as this only affects the back office. Cheers.

    https://wordpress.org/plugins/user-role-editor/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Anonymous User 11187416

    (@anonymized-11187416)

    As a follow up – List View works fine for non-super admins.

    Did you solve this?

    I have this same problem, but I *am* the super-admin. List view works, not grid view. Adding an image or setting featured image the media library just seems to sit there empty. I can upload a new image, but it wont set it as featured. Just “thinks”.

    I enabled de-bug for a minute and got this, if it will help someone to fix:

    Notice: Undefined index: page in /home/xxx/public_html/wp-content/plugins/azindex/az-index-admin.php on line 68
    
    Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/xxx/public_html/wp-includes/functions.php on line 3547
    
    Deprecated: Assigning the return value of new by reference is deprecated in /home/xxx/public_html/wp-content/plugins/evergreen-post-tweeter/Include/ept-debug.php on line 57
    
    Strict Standards: Redefining already defined constructor for class Sabre in /home/xxx/public_html/wp-content/plugins/sabre/classes/sabre_class.php on line 1622
    
    Strict Standards: Redefining already defined constructor for class wordGenerator in /home/xxx/public_html/wp-content/plugins/sabre/classes/wordgen_class.php on line 64
    
    Notice: Undefined index: action in /home/xxx/public_html/wp-content/plugins/wordpress-thread-comment/wp-thread-comment.php on line 372
    
    Strict Standards: Only variables should be passed by reference in /home/xxx/public_html/wp-content/plugins/evergreen-post-tweeter/ept-core.php on line 180
    
    Strict Standards: Only variables should be passed by reference in /home/xxx/public_html/wp-content/plugins/evergreen-post-tweeter/ept-core.php on line 248
    
    Strict Standards: Only variables should be passed by reference in /home/xxx/public_html/wp-content/plugins/evergreen-post-tweeter/ept-core.php on line 249
    
    Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /home/xxx/public_html/wp-includes/functions.php on line 3497
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /home/xxx/public_html/wp-includes/functions.php on line 3495
    
    Notice: get_settings is deprecated since version 2.1! Use get_option() instead. in /home/xxx/public_html/wp-includes/functions.php on line 3378
    
    Strict Standards: Only variables should be passed by reference in /home/xxx/public_html/wp-content/plugins/evergreen-post-tweeter/ept-admin.php on line 1005

    Additionally, I checked the network tab in Chrome Dev, and it seemed to just be in a constant looping. Was returning 404 errors

    such as:

    admin-ajax.php  /wp-admin  POST   404 Not Found
    text/html	load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,farbtastic,quicktags,jquery-ui-core,jq…:4
    Script
    73.6 KB
    73.1 KB
    2.69 s
    2.55 s

    I have solved my issue, maybe this will help you.

    After doing some sleuthing, it appears my hosts had RENAMED my admin-ajax.php to admin-jax_loadconsuming. Of course no one notified me of anything. I have renamed the file back and all is fine.

    Guess its time to find a new webhost.

    Thread Starter Anonymous User 11187416

    (@anonymized-11187416)

    Sorry for the delay – I think in the end it was a plugin conflict, but a really obscure one so not massively useful to anyone else.

    If you need a new host I can point you in the right direction.
    Take care 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Media Library Doesn't Load for Non-Suport Admins’ is closed to new replies.