Support » Fixing WordPress » Adding Media to Media Library, Library Doesn’t Load

  • I was having issues updating and uploading to my site (update failed, upload failed, undefined error), and even my host couldn’t resolve it. Installed the plugin “Disable Gutenberg”, and now I can update and upload. Now, the same issue of: Search for various things is not responding. 1) If I go to add a new plugin, and I do a search, the little wheel just spins. 2) If I add media to a page, the library contents aren’t visible (the wheel just spins). 3) If I try to delete and unused theme – Deletion failed: undefined. 4) If I go to add a new theme, then: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.

    I believe this is a 5.* WP version problem.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Getting errors when uploading images in WordPress
    The following problems occurring when uploading images in WordPress, and provides solutions for them :

    HTTP error When Uploading Image

    Unable to create directory and broken images in the Media Library
    File exceeds the upload_max_filesize

    Increase PHP Memory

    1) Contact your web hosting company and ask them to increase your PHP memory limit. Increase gradually until you are able to upload an image size which is acceptable by you. At least around width of 2000px.

    2) If you prefer to do it yourself, you can add the following in your wp-config.php. This will only work if your hosting package has that amount of memory. Increase gradually until you are able to upload an image size which is acceptable by you.

    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

    3) You can also try increasing your memory by adding the following in your .htaccess file. Note: Some web hosting does not allow this and you will have a 500 internal server error. In this case you will have to remove this code.

    php_value memory_limit 256M

    4) If you have access to your web server’s php.ini file, you can find the memory_limit and increase its size. This will only work if your hosting package has that amount of memory.

    memory_limit = 256M

    • This reply was modified 3 months, 2 weeks ago by  Jack Calder.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.