• This site has been working fine for nearly 4 years, running Divi and a child theme. Suddenly, when I tried to post a YouTube video we recorded last night to [ redundant link removed ] , I can’t upload any images to the media library – I immediately receive a message: Missing a temporary folder.
    I’ve never had any issue like this before – does anyone have any ideas what temporary folder is being referenced? Or how to fix it?

    • This topic was modified 4 years, 9 months ago by Jan Dembowski.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Tyler

    (@tylerthedude)

    Are you on a shared host? If so, you may want to bring this to their attention. However, to fix this you could try adding the following code snippet to the site’s wp-config.php file:

    define( 'WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/' );

    Once the code snippet is added, then try uploading the image again.

    Thread Starter DocSheldon

    (@docsheldon)

    Thanks, Tyler… I’ll try that!

    Thread Starter DocSheldon

    (@docsheldon)

    An update – turns out that it was a version of php that needed to be updated (it was on 7.2.31 – I updated to v7.3.19 and everything worked again).

    Thanks for the response, Tyler!

    The media library is accepting some images and rejecting others, all in JPEG, sometimes accepting a 2MB image and rejecting a 290KB image, so it’s not the size for sure.

    All i get is a message saying it might be the server, but then it uploads another image

    THanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘unable to upload image to media library’ is closed to new replies.