简体   繁体   English

Localhost当前无法处理此请求

[英]Localhost is currently unable to handle this request

This page isn't working 此页面无效

localhost is currently unable to handle this request.

HTTP ERROR 500 HTTP错误500

I know this is some sort of server error. 我知道这是某种服务器错误。 I spend almost whole day with this error. 我几乎整天都在处理这个错误。 I checked the logs and still i can't trace the error. 我检查了日志,但仍然无法追踪错误。 I checked the similar errors in here but all that solutions don't helped me. 我在这里检查了类似的错误,但是所有解决方案都没有帮助我。 please help. 请帮忙。 Thanks. 谢谢。

PHP Fatal error: Uncaught Error: Using $this when not in object context in /var/www/myPro/web/wp-content/plugins/taxonomy-terms-order/taxonomy-terms-order.php:134\\nStack trace:\\n#0 /var/www/myPro/web/wp-settings.php(273): include_once()\\n#1 /var/www/myPro/web/wp-config.php(88): require_once('/var/www/myP...')\\n#2 /var/www/myPro/web/wp-load.php(39): require_once('/var/www/myP...')\\n#3 /var/www/myPro/web/wp-blog-header.php(13): require_once('/var/www/myP...')\\n#4 /var/www/myPro/index.php(17): require('/var/www/myP...')\\n#5 {main}\\n thrown in /var/www/myPro/web/wp-content/plugins/taxonomy-terms-order/taxonomy-terms-order.php on line 134

this is the error that i get in the error log. 这是我在错误日志中得到的错误。

The problem caused because wordpress is not ready to support php7. 引起的问题是因为wordpress还没有准备好支持php7。 I used php7.2 and a downgraded version of wordpress . 我使用了php7.2和降级的wordpress版本。 So that php is not supporting the wordpress. 因此,PHP不支持wordpress。

Two solutions, 两种解决方案
One is to update the wordpress and other is to downgrade the php . 一种是更新wordpress ,另一种是降级php I don't want to update wordpress so i downgraded the php7.2 version to php5.6 . 我不想更新wordpress所以我将php7.2版本降级为php5.6 Now it works fine. 现在工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 “本地主机目前无法处理请求” - “localhost is currently unable to handle the request” 本地主机当前无法处理此请求-Moodle WAMP - localhost is currently unable to handle this request - Moodle WAMP phpMailer-本地主机当前无法处理此请求。 - phpMailer - localhost is currently unable to handle this request. Apache“localhost目前无法处理此请求。”php请求 - Apache “localhost is currently unable to handle this request.” php request 本地主机当前无法处理此请求。 Laravel的HTTP错误500 - localhost is currently unable to handle this request. HTTP ERROR 500 with Laravel 此页面无法正常运行localhost当前无法处理此请求 - This page isn’t working localhost is currently unable to handle this request localhost 当前无法处理此请求。HTTP ERROR 500 - localhost is currently unable to handle this request.HTTP ERROR 500 Localhost当前无法处理此request_header位置 - Localhost is currently unable to handle this request_header location 本地主机当前无法在Codeigniter3中处理此请求HTTP ERROR 500 - localhost is currently unable to handle this request HTTP ERROR 500 in Codeigniter3 localhost 页面不工作 localhost 当前无法处理此请求。 HTTP 错误 500 - The localhost page isn’t working localhost is currently unable to handle this request. HTTP ERROR 500
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM