long error message when i try and upload a plugin

Hi there,
I am getting a long error message when I try and load any plugin. I have try multiple ones. I have checked with the server and they say it is wordpress issue. Can you look into this for me. Thanks

  • Dimitris

    Hey there Tanya,

    hope you're doing good and thanks for reaching us! :slight_smile:

    I just tried to install a plugin and got this long (weird) error message. In short, this is the error message:
    Failed to load resource: the server responded with a status of 500 (Internal Server Error)

    As error code 500 is pretty generic, 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 installing a little plugin. 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, use a service like Dropbox and post the shareable link instead.

    Looking forward for your results!
    Warm regards,
    Dimitris

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.