[英]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.