Hello @faarukh
Didn’t the hosting provider include any more info about this error?
Cause the error message is pretty generic, we should enable WP debuggers to get to the bottom of this.
Could you please access your server via (S)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);
@ini_set('log_errors', 1);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);
When you’re done, try to go to replicate the issue once again by uploading an image until the error comes up again.
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 the size of the text file exceeds the 5MB limit of our blog, please use a service like Dropbox and post the shareable link instead.
Thank you,
Dimitris