• Resolved robb5

    (@robb5)


    Hi.

    All of a sudden, any upload attempt (multi, drag ‘n drop, browser) does not work. One method ends up on the page …wp-admin/media-new.php with a message of, “The page you were looking for could not be found…” I checked the cPanel and the file is there and looks normal. I haven’t touched any file other than header.php and that was through a plugin.

    The other methods remain on the Media page and say, “Unexpected response from the server…”

    I logged out, cleared the cache, tried again…same thing. Everything else works fine.

    I’m not sure when today it happened, but this morning I upgraded TwentyTwenty after seeing the message in the dashboard, along with upgrading a few plugins that were all present before this issue.

    Plugins: Anti-Span by CleanTalk, Contact Form 7, Loginizer, No Category Base, Options for TwentyTwenty, and Header Builder Pearl.

    Any ideas?

    Robb

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator James Huff

    (@macmanx)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Twenty theme. If the problem goes away, enable them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter robb5

    (@robb5)

    Thanks for the quick reply.

    I disabled the plugins one at a time, the upload issue persisted, the Health Check said, “The optional module, fileinfo, is not installed, or has been disabled,” I searched that, went into cPanel and changed the php to 7.4, and had to select the extension fileinfo. I logged out, cleared the cache, logged in again…the issue persists.

    Is it now a hosting issue? Everything else with WP works.

    Moderator James Huff

    (@macmanx)

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter robb5

    (@robb5)

    Another thing I tried last night was switching the theme (to TwentySeventeen) and the upload issue remained, so I switched back. Today I realized TwentySeventeen would be easier for me to get the look I want so I switched again and, for the fun of it, checked the uploader before doing as you instructed- and it worked!

    Good to know what else to try in case it happens again.

    Thank you.

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