Upload image results to 500 error code

Uploading an image file via Media Library in J30 Eventos subsite, results to a HTTP 500 error (Internal Server Error).

Upfront is also unable to load media library.

  • Dimitris

    Hey again robson,

    I trust you're doing good today! :slight_smile:

    Could you please access your server via FTP, edit the wp-config.php file, find a line like
    define('WP_DEBUG', false);and replace it with the following (if the above line doesn’t exist, simply insert next snippet just above the /* That's all, stop editing! Happy blogging. */ comment)

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    // Enable Debug logging to the /wp-content/debug.log file
    define('WP_DEBUG_LOG', true);
    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors', 0);

    Then go ahead and try to replicate the error by uploading an image in Media Library.
    By doing so, a /wp-content/debug.log file should be created.
    Simply download it, rename it to debug.txt and attach it here in your next reply.
    If size of text file exceeds the 5MB limit of our forums, please use a service like Dropbox and post the shareable link instead.

    Warm regards,
    Dimitris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.