wordpress:日志中的php错误不断重复

时间:2018-05-20 14:05:02

标签: php wordpress

[Sun May 20 13:35:20.221828 2018] [proxy_fcgi:error] [pid 10537] [client 127.0.0.1:47010] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_bloginfo() in /home/124496.cloudwaysapps…class-wp-locale.php:231   
Stack trace:
#0 /home/124496.cloudwaysapps.com/public_html/wp-includes/class-wp-locale.php(112): WP_Locale->init()
#1 /home/124496.cloudwaysapps.com/public_html/wp-includes/load.php(927): WP_Locale->__construct()
#2 /home/124496.cloudwaysapps.com/public_html/wp-includes/wp-db.php(1569): wp_load_translations_early()
#3 /home/124496.cloudwaysapps.com/public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(145): wpdb->db_connect(true)
#4 /home/124496.cloudwaysapps.com/public_html/wp-includes/wp-db.php(592): W3TC\\DbCache_Wpdb->db_connect()
#5 /home/124496.cloudwaysapps.com/public_html/wp-content/plugins/w3-total-cache/DbCache_Wpdb.php(252): wpdb->__construct('redacted', 'redacted', 'redacted', 'redacted')
#6 /home/124496.cloudwaysapps.com/pu...

1 个答案:

答案 0 :(得分:0)

我遇到了相同的错误,并且通过启用扩展nd_mysqli禁用扩展mysqli(从“选择PHP”中)解决了该问题。选择PHP 7后,托管提供商的“版本”配置页面。