Use digital theme show 502 Bad Gateway nginx

@username
Use digital theme test download file show 502 Bad Gateway nginx,
But using AWS Apache is normal

Nginx error logs is
error] 8075#0: *6 FastCGI sent in stderr: "PHP message: PHP Warning: ltrim() expects parameter 1 to be string, object given in /www/wwwroot/eziidea.com/wp-includes/formatting.php on line 4309" while reading response header from upstream, client: ***.215, server: eziidea.com, request: "GET /checkout/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "eziidea.com", referrer: "http://eziidea.com/downloads/123/"

php error logs is
(request: "POST /index.php?payment-mode=manual") executing too slow (38.937964 sec), logging
[12-Nov-2020 07:59:52] NOTICE: child 9321 stopped for tracing
[12-Nov-2020 07:59:52] NOTICE: about to trace 9321
[12-Nov-2020 07:59:52] NOTICE: finished trace of 9321
[12-Nov-2020 08:01:02] WARNING: [pool www] child 9321, script '***/eziidea.com/index.php' (request: "POST /index.php?payment-mode=manual") execution timed out (108.949547 sec), terminating
[12-Nov-2020 08:01:02] WARNING: [pool www] child 9321 exited on signal 15 (SIGTERM) after 190.038390 seconds from start
[12-Nov-2020 08:01:02] NOTICE: [pool www] child 9596 started

Cpu 2 core+4G ram now ram is 1800m/3944m

Somebody can help me thanks a lot T_T

1 Reply

You have a coding error:

PHP message: PHP Warning: ltrim() expects parameter 1 to be string, object given in /www/wwwroot/eziidea.com/wp-includes/formatting.php on line 4309

(emphasis mine). This file is probably part of your theme or a plugin.

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct