• Hi, I love this plugin – great work and thank you so much.

    I noticed if I go up to PHP 8 or above I get this error.

    “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 have never had this problem before – only after updating to PHP 8. When I downgrade to PHP 7.4.1 it works. When I disable the plugin on PHP 8 it also works. Hopefully that is enough information for you guys.

    Thank you so much.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor hemenderki

    (@hemenderki)

    Hello @davidlower8! Thank you so much for the feedback.

    It would be helpful if I could do a test with the actual image that you are trying to upload. Could you please add the image to a cloud service and paste the link to the image here. Is that possible?

    Thread Starter davidlower8

    (@davidlower8)

    Sure. But to save you time I tested in with multiple images across multiple websites – same results. I should also note that I am in a local environment using Flywheel. Do you still want me to upload the image.

    Plugin Contributor hemenderki

    (@hemenderki)

    I see. That would be really helpful. What I need to check is the resolution of the image. Images with too high megapixel can cause the server to time out.

    It could be that it timed out on PHP 7.4 just that you didn’t get a message about it. When the server times out the image gets uploaded but not resizes and that could make you think that everything went well. Maybe that is not the case with your issue, but still it would be helpful with the image.

    Do you get the same result on live website or is it just in Flywheel Local?

    Thread Starter davidlower8

    (@davidlower8)

    I just tested it on a live site with PHP 8.1 and it was fine. It could well be a Flywheel issue. The images I was uploading were approx 1Mb and 2560px in width. I never upload images above the WordPress max. I did multiple images so I really don’t think that is the issue. What is interesting is disabling the plugin solved the issue, I was able to upload the images. So there is some conflict with Local by Flywheel when it is on PHP 8+.

    Plugin Contributor hemenderki

    (@hemenderki)

    That’s helpful to know. We will try on Local by Flywheel and get back to you.

    Thread Starter davidlower8

    (@davidlower8)

    Ok cool. Let me know if you need anything else. I am happy to help. Switching my local to 7.4.1 has fixed the problem, so it isn’t a huge issue at the moment.

    Thread Starter davidlower8

    (@davidlower8)

    Hey,

    I just wanted to know if you managed to get anywhere with this? I did change the php.ini.hbs file to have a memory limit of 1024M. I also gave wp-config file 256M for file size upload. Neither has made a difference.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP 8+ seems to be causing problem’ is closed to new replies.