litespeedtech / litespeedtech/lscache_wp

Error when uploading an image when using PHP 8.1

Open
#429 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
257
Forks
123
PR merge metrics
No merged PRs in 30d

Description

The error:

Post-processing of the image likely failed because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.

The image is 1500x1500. Uploads fine when LS Cache is turned off.

Litespeed Cache is the only installed plugin, Twenty-Twenty-one is the theme, unmodified.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the upload with PHP 8.1, LiteSpeed Cache enabled, and the reported 1500x1500 image, then compare it with LiteSpeed Cache disabled. No source file or test is identified in the report; done means the image uploads successfully with the plugin enabled without triggering the resource error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.