未定义索引:第 221 行 cache/smarty/compile/46/fa/c5/46fac58ea309f.file.list_content.tpl.php 中的 id_order

Undefined index: id_order in cache/smarty/compile/46/fa/c5/46fac58ea309f.file.list_content.tpl.php on line 221

当我尝试访问 BO 的 CLINETS 时,出现错误“502 Bad Gateway”。所有的工作,但只有 CLIENTS link 不工作。我试图清除缓存文件夹,除了 index.php 但在 php 日志中它对我没有帮助,我看到以下行:

2021/04/13 06:17:59 [error] 1714#1714: *112 FastCGI sent in stderr: "ned index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221
PHP message: PHP Notice:  Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221
PHP message: PHP Notice:  Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221
PHP message: PHP Notice:  Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221
PHP message: PHP Notice:  Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221
PHP message: PHP Notice:  Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221
PHP message: PHP Notice:  Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221
PHP message: PHP Notice:  Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221
PHP message: PHP Notice:  Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221
PHP message: PHP Notice:  Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.php on line 221
PHP message: PHP Notice:  Undefined index: id_order in /var/www/example.com/cache/smarty/compile/46/fa/c5/46fac58ea30739af2c0c55301ae1016a9772649f.file.list_content.tpl.ph
2021/04/13 06:17:59 [error] 1714#1714: *112 upstream sent too big header while reading response header from upstream, client: 85.174.197.62, server: new.example.com, request: "GET /admin455uphrcp/index.php?controller=AdminCustomers&token=1dc27bdc261ff5a9b5178c412701cf80 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "new.example.com", referrer: "http://new.example.com/admin455uphrcp/index.php?controller=AdminLogin&token=5f500f10a685e82e877221520240d38f&redirect=AdminCustomers"

我该如何解决?谢谢

PS v. 1.6.1.1
php-fpm: PHP 7.0.33-47+ubuntu20.04.1+deb.sury.org+1 (cli) (built: Feb 23 2021 15:04:06) ( NTS )
nginx/1.18.0 (Ubuntu)

您需要调整服务器端 Nginx 设置以增加 header 大小。

将此添加到您的 nginx.conf :

proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;

和/或:

fastcgi_read_timeout 1200;
fastcgi_buffers 8 128k;
fastcgi_buffer_size 256k;

如果您使用的是 FastCGI