Wordpress - Can't upload images / getting Action Scheduler error

Can anyone help with this issue on a Wordpress-built site:

For the first time I’ve seen this error: “Action Scheduler: 252 past-due actions found; something may be wrong.”

I didn’t think the error was causing any other issues with the site but I’ve also noticed I can’t upload images and I;m getting this error message when I try even though images are as small as 70kb jpegs:

“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 2,560 pixels.”

I’ve contacted my host but they say it’s a Cloudflare issue because I used their named servers.

Hi,

  1. Try to upload an image.

  2. After it fails (you are blocked or a subrequest is blocked and it doesn’t go through), wait a few minutes then go to Dashboard > Security > Events. You should find an event related to that block action. Depending on your site traffic, you may need to filter by IP address or URI Path to find it. Check the “Service” that blocked it.

  3. If this was
    a) Bot Fight Mode, disable this feature.
    b) Super Block Fight Mode, create a WAF Custom Rule to Skip it for the specific situation (for instance, When incoming requests match... URI Path equals /wp-admin/uploads.php;
    c) WAF Managed Rule, you need to create a WAF Exception for that rule.
    c.1) See: Add a WAF exception in the dashboard · Cloudflare Web Application Firewall (WAF) docs and
    c.2) this response to a similar issue.
    d) WAF Custom Rule, you need to edit it accordingly.

Thanks for the reply and information cbrant. Unfortunately, that’s a bit beyond my understanding from a technical perspective. I’m reaching out to my host for advice.

1 Like

For anyone else getting this or the annoying ‘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 2,560 pixels’ WordPress error, the fix is this:

DISABLE THE OWASP RULES in Security > WAF > Managed Rules

(Or change them to be less strict)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.