Cpanel and wordpress, after update wordpress doesnt like images anymore

RoyDutch

Registered
Jan 8, 2022
4
0
1
Netherlands
cPanel Access Level
Root Administrator
Hi!

First of all excuse me for my bad English.

A few days ago I updated Cpanel and now my wordpress installations dont accept any images. It gives the following error:
"wordpress the server cannot process the image. this can happen if the server is busy or does not have enough resources to complete the task. uploading a smaller image may help. suggested maximum size is 2560 pixels."

I did increase my memory, did change my php versions. Disabled NGINX and also restored the permissions. But still it doens't accept the images.

I also switched between computers and removing cookies. Also tried different images.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,634
2,629
363
cPanel Access Level
Root Administrator
Hello! Did you also try disabling any plugins on the WordPress installation? Can you also confirm your images are smaller than 2560 pixels? If not, there is additional processing power required as WordPress will automatically resize the image.

If you have root access to the server you can also try checking the main Apache log while you perform the upload to see if there are any errors logged there. That file is located at /etc/apache2/logs/error_log.

It's also possible that your PHP settings are not high enough to handle the images after the update. You'll want to check the memory_limit, post_max_size, and upload_max_filesize to ensure they are large enough.
 

RoyDutch

Registered
Jan 8, 2022
4
0
1
Netherlands
cPanel Access Level
Root Administrator
Hi!

Thanks for the fast response!

Yes I am the owner of the server. So I have root perms.

Yes I disabled all the plugins. Even with new installations it happens, The images are smaller then 2560X, I tried multiple Images on multiple wordpress installations on diffrent users!

At the moment the wordpress installations are running PHP 7.4 or 8.0, changing them to another doesnt seem to make a difference.
The memory limit is: 1024M
post_max_size : 512M
upload_max_filesize: 256M

The server is running Ubuntu 20.04 LTS with all the updates.
It does have 16 Cores, 40GB Ram and 3TB SSD. The load is never above 2.0 except when im updating plugins or someone is using the woocommerce app for a sec.

Im not capable of acces the log file (too big to scroll from my phone) So i'm gonna add it later if needed)
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,634
2,629
363
cPanel Access Level
Root Administrator
Those limits seem like they should be more than enough for any WordPress site.

I just tried uploading an image to my personal WordPress site and I did not get this error. You are always welcome to submit a ticket to our team so we can test this directly on your system.